{{-- HEADER --}}

{{ $depart->city }} : DEPART INTERNE du {{ \Carbon\Carbon::parse($depart->date)->format('d/m/Y') }}

{{-- INFORMATIONS --}}
Référence : {{ $depart->reference }}
Trajet : VOIR DESTINATION

Statut : {{ str_replace('_',' ', $depart->status) }}

{{-- TABLEAU --}} @php $totalFrais = 0; $totalCarburant = 0; @endphp @foreach ($items as $key => $item) @php $totalFrais += $item->frais_de_route; $totalCarburant += $item->carburant; @endphp @endforeach {{-- TOTAL --}}
No Camion Chauffeur Destination Frais de route Carburant Observations
{{ $key + 1 }} {{ $item->camion->plaque_immatriculation_tracteur }} {{ $item->chauffeur }} {{ $item->departure_destination }} - {{ $item->arrival_destination }} {{ number_format($item->frais_de_route, 0, '.', ' ') }} FCFA {{ number_format($item->carburant, 0, '.', ' ') }} L {{ $item->observations ?: '-' }}
TOTAL {{ number_format($totalFrais, 0, '.', ' ') }} FCFA {{ number_format($totalCarburant, 0, '.', ' ') }} L
{{-- NOTE --}}
Note / Observations générales :
{{ $depart->note ?? '' }}