Bon carburant #{{ $purchase->reference }}

Informations

Date : {{ \Carbon\Carbon::parse($purchase->date)->format('d/m/Y') }}

Référence : {{ $purchase->reference }}

Fournisseur

{{ $purchase->fournisseur->fullname ?? '-' }}

{{ $purchase->fournisseur->phone }} / {{ $purchase->fournisseur->contact ?? 'N/A' }}

{{ $purchase->fournisseur->address ?? '-' }}

Résumé

Total : {{ number_format($purchase->items->sum('amount'), 0, ',', ' ') }} FCFA

Détails du bon
@foreach($purchase->items as $key => $item) @endforeach
# Camion Chauffeur Désignation Qté Prix Montant
{{ $key + 1 }} {{ $item->camion->plaque_immatriculation_tracteur }} / {{ $item->camion->plaque_immatriculation_equipement ?? '-' }} {{ $item->chauffeur->first_name ?? '' }} {{ $item->chauffeur->last_name ?? '' }} {{ $item->designation }} {{ $item->quantity }} {{ number_format($item->price, 0, ',', ' ') }} FCFA {{ number_format($item->amount, 0, ',', ' ') }} FCFA