FUEL REPORT:{{$report_title}}

{{--*/ $in_quantity_total = 0 /*--}} {{--*/ $out_quantity_total = 0 /*--}} {{--*/ $balance_quantity = $open_balance['open_quantity'] /*--}} @foreach($pumps as $pump) @endforeach @foreach($pumps as $pump) @endforeach @foreach($fuel_inventories as $inventory) {{--*/ $in_quantity_total += $inventory['in_quantity'] /*--}} {{--*/ $out_quantity_total += $inventory['out_quantity'] /*--}} {{--*/ $balance_quantity += $inventory['in_quantity'] /*--}} {{--*/ $balance_quantity -= $inventory['out_quantity'] /*--}} @foreach($pumps as $pump) @endforeach @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 CONSUMER METER READING RECEIVED ISSUED CUMULATIVE
{{$pump->name}}
OPEN STOCK{{number_format($pump->openStock($date[0]))}} {{number_format($balance_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