Loss Summary FROM {{\Carbon\Carbon::parse($date_between[0])->toFormattedDateString()}} TO {{\Carbon\Carbon::parse($date_between[1])->toFormattedDateString()}}

{{--*/ $total_number_of_trucks =0 /*--}} {{--*/ $total_volume = 0 /*--}} {{--*/ $total_loses = 0 /*--}} {{--*/ $total_loss_amount_usd = 0 /*--}} {{--*/ $total_loss_amount_tsh = 0 /*--}} @forelse($driver_trip_losses as $key => $driver_trip_loss) {{--*/ $total_number_of_trucks += $driver_trip_loss->total_trucks /*--}} {{--*/ $total_volume += $driver_trip_loss->total_volume /*--}} {{--*/ $total_loses += $driver_trip_loss->losses_in_volume /*--}} {{--*/ $total_loss_amount_usd += $loss_amount_usd /*--}} {{--*/ $total_loss_amount_tsh += $driver_trip_loss->losses_in_value /*--}} @empty @endforelse
S/N Client Total Trucks Total Volume Loss Amount USD Amount TSH
{{ ++$key}} {{ $driver_trip_loss->client_code }} {{ $driver_trip_loss->total_trucks }} {{ number_format($driver_trip_loss->total_volume,2) }} {{ number_format($driver_trip_loss->losses_in_volume,2) }} {{ number_format($loss_amount_usd,2) }} {{ number_format($driver_trip_loss->losses_in_value,2) }}
No data found!
TOTAL {{ $total_number_of_trucks }} {{ number_format($total_volume,2) }} {{ number_format($total_loses,2) }} $ {{ number_format($total_loss_amount_usd, 2) }} Tsh {{ number_format($total_loss_amount_tsh, 2) }}