{{--*/ $total_quantity = 0 /*--}}
@if(isset($fuel_order_from_requisitions))
{{--*/ $total_quantity = 0 /*--}}
{{--*/ $total_amount = 0 /*--}}
{{--*/ $total_balance = 0 /*--}}
{{--*/ $total_extra = 0 /*--}}
@foreach($fuel_order_from_requisitions as $index=> $fuel_order_from_requisition)
{{++$index}} |
{{$fuel_order_from_requisition->truck}} |
{{$fuel_order_from_requisition->driver}} |
{{$fuel_order_from_requisition->client}} |
{{$fuel_order_from_requisition->destination}} |
{{number_format($fuel_order_from_requisition->extra_quantity)}} |
{{number_format($fuel_order_from_requisition->rate)}} |
{{--{!! number_format( $fuel_order_from_requisition->extra_quantity) !!} | --}}
{!! number_format(( $fuel_order_from_requisition->extra_quantity)*$fuel_order_from_requisition->rate) !!} |
|
{{--*/ $total_balance += $fuel_order_from_requisition->balance /*--}}
{{--*/ $total_extra += $fuel_order_from_requisition->extra_quantity /*--}}
{{--*/ $total_quantity += $fuel_order_from_requisition->extra_quantity /*--}}
{{--*/ $total_amount += ($fuel_order_from_requisition->extra_quantity)*$fuel_order_from_requisition->rate /*--}}
@endforeach
@endif