RAPPORT GENERAL ACHAT CARBURANT

Référence : {{ $purchase->reference }} Date : {{ \Carbon\Carbon::parse($purchase->date)->format('d/m/Y') }}
Fournisseur : {{ $purchase->supplier?->company }} Contact : {{ $purchase->supplier?->contact }}

Produits achetés

@if($purchase->items->count() > 0) @foreach($purchase->items as $item) @endforeach @else @endif
Camion Produit Qté Manquant Qté restante Prix Montant
{{ $item->camion }} {{ $item->designation }} {{ number_format($item->quantity, 0, '.', ' ') }} L {{ number_format($item->manquant, 0, '.', ' ') }} L {{ number_format(($item->quantity - $item->manquant), 0, '.', ' ') }} L {{ number_format($item->price, 0, '.', ' ') }} FCFA {{ number_format($item->amount, 0, '.', ' ') }} FCFA
Aucun élément trouvé.

Résumé financier

Total achat {{ number_format($purchase->amount?->amount ?? 0, 0, '.', ' ') }} FCFA
Total payé {{ number_format($purchase->amount?->paid_amount ?? 0, 0, '.', ' ') }} FCFA
Reste à payer {{ number_format($purchase->amount?->reste ?? 0, 0, '.', ' ') }} FCFA

Historique des paiements

@if($purchase->payments->count() > 0) @foreach($purchase->payments as $payment) @endforeach @else @endif
Référence Date Montant Mode
{{ $payment->reference }} {{ \Carbon\Carbon::parse($payment->date)->format('d/m/Y') }} {{ number_format($payment->amount, 0, '.', ' ') }} FCFA {{ $payment->mode_paiement }}
Aucun élément trouvé