{{$client->name}} - TRUCK OPTIMIZATIONS REPORT FROM {{\Carbon\Carbon::parse($date_between[0])->toFormattedDateString()}} TO {{\Carbon\Carbon::parse($date_between[1])->toFormattedDateString()}}

{{--*/ $total_number_of_trucks =0 /*--}} {{--*/ $total_number_of_trips =0 /*--}} {{--*/ $total_quantity_in_litres = 0 /*--}} {{--*/ $total_quantity_in_tonnage = 0 /*--}} @forelse($tempo_client_total_trip_by_loading_dates as $key => $client_total_trip_by_loading_date) {{--*/ $total_number_of_trips +=$client_total_trip_by_loading_date->number_of_trips /*--}} {{--*/ $total_number_of_trucks +=$client_total_trip_by_loading_date->number_of_trucks /*--}} {{--*/ $total_quantity_in_litres +=$client_total_trip_by_loading_date->total_loaded_quantity /*--}} {{--*/ $total_quantity_in_tonnage +=$client_total_trip_by_loading_date->total_loaded_quantity /*--}} @empty @endforelse
S/N Client Total Trips Total Trucks
{{ ++$no }} {{ $client_total_trip_by_loading_date->client }} {{ $client_total_trip_by_loading_date->number_of_trips }} {{ $client_total_trip_by_loading_date->number_of_trucks }} {{ number_format($client_total_trip_by_loading_date->total_loaded_quantity,2) }}{{ ($client_total_trip_by_loading_date->cargo_group == 'PETROLEUM_CARGO') ? 'l' : 't' }}
No data found!
TOTAL {{ $total_number_of_trips }} {{ $total_number_of_trucks }}

Truck Loading details

{{--*/ $total_number_of_trucks =0 /*--}} {{--*/ $total_number_of_trips =0 /*--}} {{--*/ $total_quantity = 0 /*--}} @forelse($trip_loading_details as $key => $trip_loading_detail) @empty @endforelse {{----}} {{----}} {{----}} {{----}} {{----}} {{----}} {{----}} {{----}}
S/N Document # Loading Date Truck Trailer Driver Container Origin Destination Ref Product
{{ ++$no }} {{ $trip_loading_detail->document_number }} {{ $trip_loading_detail->loading_date }} {{ $trip_loading_detail->truck }} {{ $trip_loading_detail->trailer }} {{ $trip_loading_detail->driver }} {{ $trip_loading_detail->container }} {{ $trip_loading_detail->loading_city }} {{ $trip_loading_detail->destination }} {{ $trip_loading_detail->d_o_number }} {{ $trip_loading_detail->loading_quantity }} {{ $cargo_group == 'PETROLEUM_CARGO' ? 'L' : 'TON' }} {{ $trip_loading_detail->product }}
No data found!
TOTAL{{ $total_number_of_trips }}{{ $total_number_of_trucks }}{{ number_format($total_quantity,2) }}