{{ $nbFactures }}

Factures

{{ number_format($totalFacture,0,',',' ') }} FCFA

Total facturé

{{ number_format($totalPaye,0,',',' ') }} FCFA

Total payé

{{ number_format($reste,0,',',' ') }} FCFA

Reste à payer

Tableau Factures

@foreach($invoices as $invoice) @endforeach
Référence Date Total Payé Reste Status
{{ $invoice->reference }} {{ \Carbon\Carbon::parse($invoice->date)->format('d/m/Y') }} {{ number_format($invoice->amount->amount_items, 0, '.', ' ') }} FCFA {{ number_format($invoice->amount->amount_payments, 0, '.', ' ') }} FCFA {{ number_format($invoice->amount->remainder, 0, '.', ' ') }} FCFA {{ $invoice->status }}

Tableau Paiements

@foreach($payments as $pay) @endforeach
Date Référence Montant Mode de paiement
{{ \Carbon\Carbon::parse($pay->date)->format('d/m/Y') }} {{ $pay->reference }} {{ number_format($pay->payment, 0, '.', ' ') }} {{ $pay->mode_payment }}