{{----}}

DAILY FUEL REPORT

@foreach($pumps as $pump) @endforeach @foreach($pumps as $pump) @endforeach {{--*/ $in_quantity_total = 0 /*--}} {{--*/ $out_quantity_total = 0 /*--}} {{--*/ $balance_quantity = $open_balance['open_quantity'] /*--}} @foreach($fuel_inventories as $inventory) @foreach($pumps as $pump) @endforeach {{--*/ $in_quantity_total += $inventory['in_quantity'] /*--}} {{--*/ $out_quantity_total += $inventory['out_quantity'] /*--}} {{--*/ $balance_quantity += $inventory['in_quantity'] /*--}} {{--*/ $balance_quantity -= $inventory['out_quantity'] /*--}} @endforeach @foreach($pumps as $pump) @endforeach {{--*/ $meter_reading_deff = 0 /*--}} @foreach($pumps as $pump) {{--*/ $meter_reading_deff += $pump->differenceBetweenTwoRespectiveReading($date[0]) /*--}} @endforeach @foreach($pumps as $pump) @endforeach @foreach($pumps as $pump) @endforeach @foreach($pumps as $pump) @endforeach
Date Equipment/Vehicle METER READING RECEIVED DIESEL ISSUED DIESEL CUMULATIVE
{{$pump->name}}
OPEN STOCK{{number_format($pump->openStock($date[0]))}} {{number_format($open_balance['open_quantity'])}}
{{ \Carbon\Carbon::parse($inventory['date'])->toFormattedDateString()}} {{ $inventory['registration_number']}}{{number_format($inventory['in_quantity'])}}{{number_format($inventory['out_quantity'])}}{{number_format($balance_quantity)}}
TOTAL {{number_format($in_quantity_total)}} {{number_format($out_quantity_total)}}
CLOSING STOCK{{number_format($pump->closingStock($date[0]))}} {{number_format($balance_quantity)}}
METER READING DEFF.{{number_format($pump->differenceBetweenTwoRespectiveReading($date[0]))}} {{number_format($meter_reading_deff)}}
ISSUED DIFFERENCE. {{number_format($meter_reading_deff-$out_quantity_total)}}
DIPPING MEASUREMENT
DIFFERENCE