{{ $provider->business_name ?? $provider->first_name . ' ' . $provider->last_name }}
@if($dateFrom && $dateTo)Période : {{ \Carbon\Carbon::parse($dateFrom)->format('d/m/Y') }} - {{ \Carbon\Carbon::parse($dateTo)->format('d/m/Y') }}
@elsePériode : Toutes les factures
@endifGénéré le {{ now()->format('d/m/Y à H:i') }}
| Date | Client | N° Facture | Méthode | Montant |
|---|---|---|---|---|
| {{ \Carbon\Carbon::parse($payment->payment_date)->format('d/m/Y') }} | {{ $payment->client->first_name }} {{ $payment->client->last_name }} | {{ $payment->invoice_number ?? '-' }} | @php $methods = ['cash' => 'Espèces', 'card' => 'Carte', 'check' => 'Chèque', 'transfer' => 'Virement', 'other' => 'Autre']; echo $methods[$payment->method] ?? ucfirst($payment->method); @endphp | {{ number_format($payment->amount, 2, ',', ' ') }} {{ $currency }} |
| TOTAL | {{ number_format($stats->total ?? 0, 2, ',', ' ') }} {{ $currency }} | |||
Aucune facture trouvée pour cette période.