PRINT {{--*/ $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 }} {{-- {{ number_format($total_quantity_in_litres,2) }}--}}