@extends('layouts.client') @section('title', __('Affilix::affiliation.dashboard')) @section('content')
{{ __('Commission :') }} {{ number_format($affiliate->commission_rate, ($affiliate->commission_type ?? 'percent') === 'fixed' ? 2 : 0) }}{{ ($affiliate->commission_type ?? 'percent') === 'fixed' ? ' ' . setting('currency_symbol', '€') : '%' }} · {{ __('Code :') }} {{ $affiliate->referral_code }}
{{ __('Affilix::affiliation.referral_link') }}
@if($clickRate !== null) +{{ number_format($clickRate, 2) }} {{ setting('currency_symbol', '€') }} {{ __('/ clic unique') }} @endif{{ number_format($stats['unique_clicks']) }}
{{ __('Clics uniques') }}
{{ number_format($stats['total_referrals']) }}
{{ __('Parrainages') }}
{{ number_format($stats['conversion_rate'], 1) }}%
{{ __('Conversion') }}
{{ number_format($stats['total_earnings'], 2) }}
{{ __('Gains totaux') }} {{ setting('currency_symbol', '€') }}
{{ __('Solde disponible') }}
{{ number_format($approvedBalance, 2) }} {{ setting('currency_symbol', '€') }}
{{ __('Encore') }} {{ number_format($minPayout - $approvedBalance, 2) }} {{ setting('currency_symbol', '€') }} {{ __('avant de pouvoir retirer') }}
@else{{ __('Aucun solde approuvé') }}
@endif {{ __('Historique') }}{{ number_format($stats['paid_earnings'], 2) }} {{ setting('currency_symbol', '€') }}
{{ __('Payé') }}
{{ number_format($stats['pending_earnings'], 2) }} {{ setting('currency_symbol', '€') }}
{{ __('En attente') }}
{{ number_format($stats['successful_referrals']) }}
{{ __('Conversions') }}
| {{ __('Date') }} | {{ __('Description') }} | {{ __('Montant') }} | {{ __('Statut') }} |
|---|---|---|---|
| {{ $commission->created_at->format('d/m/Y') }} | {{ $commission->description }} | +{{ number_format($commission->amount, 2) }} {{ setting('currency_symbol', '€') }} | @if($commission->status === 'paid') {{ __('Payé') }} @elseif($commission->status === 'approved') {{ __('Approuvé') }} @else {{ __('En attente') }} @endif |
|
{{ __('Aucune commission pour le moment') }} |
|||