| Référence : {{ $trip->reference }} | Camion : {{ $trip->camion->plaque_immatriculation_tracteur ?? '-' }} / {{ $trip->camion->plaque_immatriculation_equipement ?? '-' }} |
| Chauffeur : {{ $trip->chauffeur ?? '-' }} | Date départ : {{ \Carbon\Carbon::parse($trip->start_date)->format('d/m/Y') }} |
| Date fin : {{ \Carbon\Carbon::parse($trip->end_date)->format('d/m/Y') }} | Statut : {{ $trip->status }} |
| Trajet : {{ $trip->departure_aller }} → {{ $trip->arrival_aller }} | Retour : {{ $trip->departure_retour }} → {{ $trip->arrival_retour }} | |
| Produit | Type | Quantité ou Poids | Prix unitaire | Manquant | Prix du manquant | Total |
|---|---|---|---|---|---|---|
| {{ $product->name }} | {{ $product->type }} | {{ $product->weight }} | {{ number_format($product->price, 0, '.', ' ') }} FCFA | {{ $product->manquant }} | {{ number_format($product->price_manquant, 0, '.', ' ') }} FCFA | {{ number_format((($product->weight * $product->price) - ($product->manquant * $product->price_manquant)), 0, '.', ' ') }} FCFA |
| Aucun produit | ||||||
| Date | Type | Ville | Quantité | Prix | Montant |
|---|---|---|---|---|---|
| {{ \Carbon\Carbon::parse($expense->date)->format('d/m/Y') }} | {{ $expense->label }} | {{ $expense->city }} | {{ $expense->quantity }} | {{ number_format($expense->price, 0, '.', ' ') }} FCFA | {{ number_format($expense->amount, 0, '.', ' ') }} FCFA |
| Aucune dépense | |||||
Total Dépenses : {{ number_format($totalDepenses, 0, '.', ' ') }} FCFA
Total Manquants : {{ number_format($totalManquantMontant, 0, '.', ' ') }} FCFA
Résultat Net : {{ number_format($benefice, 0, '.', ' ') }} FCFA