{{ \Carbon\Carbon::parse($inventory['date'])->toFormattedDateString()}} |
{{ $inventory['registration_number']}} |
{{number_format($inventory['in_quantity'])}} |
{{number_format($inventory['in_price'],2)}} |
{{number_format($inventory['in_amount'],2)}} |
{{--*/ $in_quantity_total += $inventory['in_quantity'] /*--}}
{{--*/ $out_quantity_total += $inventory['out_quantity'] /*--}}
{{number_format($inventory['out_quantity'])}} |
{{number_format($inventory['out_price'],2)}} |
{{number_format($inventory['out_amount'],2)}} |
{{--*/ $in_quantity_total += $inventory['in_quantity'] /*--}}
{{--*/ $out_quantity_total += $inventory['out_quantity'] /*--}}
{{--*/ $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