@extends('layouts.main_without_top_button') @section('title') Fuel Managements @stop @section('navigation')
Inward | Outward | Balance | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
Date | Equipment/Vehicle | Qnty | Price | Amount | Qnty | Price | Amount | Qnty | Price | Amount |
OPEN BALANCE | {{number_format($open_balance['open_quantity'])}} | {{number_format($open_balance['avarage_price'])}} | {{number_format($open_balance['open_quantity']*$open_balance['avarage_price'])}} | |||||||
{{ \Carbon\Carbon::parse($inventory['date'])->toFormattedDateString()}} | {{ $inventory['registration_number']}} | {{number_format($inventory['in_quantity'])}} | {{number_format($inventory['in_price'])}} | {{number_format($inventory['in_amount'])}} | {{--*/ $in_quantity_total += $inventory['in_quantity'] /*--}} {{--*/ $out_quantity_total += $inventory['out_quantity'] /*--}}{{number_format($inventory['out_quantity'])}} | {{number_format($inventory['out_price'])}} | {{number_format($inventory['out_amount'])}} | {{--*/ $balance_quantity += $inventory['in_quantity'] /*--}} {{--*/ $balance_quantity -= $inventory['out_quantity'] /*--}} {{--*/ $avarage_price = $inventory['average_price'] /*--}} @if($inventory['in_price']>0) @endif{{number_format($balance_quantity)}} | {{number_format($inventory['average_price'])}} | {{number_format($inventory['average_price']*$balance_quantity)}} | @endforeach
TOTAL INWARD | {{number_format($in_quantity_total)}} | TOTAL OUTWARD | {{number_format($out_quantity_total)}} | CLOSED BALANCE | {{number_format($balance_quantity)}} | {{number_format($avarage_price)}} | {{number_format($avarage_price*$balance_quantity)}} |