{{ $purchase->reference }}
Achat carburant fournisseur
Date achat
{{ \Carbon\Carbon::parse($purchase->date)->format('d/m/Y') }}
Fournisseur
{{ $purchase->supplier?->company }}
Quantité totale
{{ number_format($purchase->items->sum('quantity') - $purchase->items->sum('manquant'), 0, '.', ' ') }} L
Manquant :
{{ number_format($purchase->items->sum('manquant'), 0, '.', ' ') }} L
Montant total
{{ number_format($totalAmount, 0, '.', ' ') }} FCFA
Reste à payer
{{ number_format($resteAmount, 0, '.', ' ') }} FCFA