{{ auth()->user()->branch?->name }}

Inventory Report

Current stock · {{ now()->format('d/m/Y H:i') }}

Total Buying Cost
Full Cylinders & Accessories{{ \App\Models\SystemSetting::formatMoney($gasReport['inventory']->sum('buying_total')) }}
Total Selling Value{{ \App\Models\SystemSetting::formatMoney($gasReport['inventory']->sum('selling_total')) }}
Expected Profit{{ \App\Models\SystemSetting::formatMoney($gasReport['inventory']->sum('potential_profit')) }}
Empty Cylinder Cost{{ \App\Models\SystemSetting::formatMoney($gasReport['inventory']->sum('empty_cost')) }}
@forelse($gasReport['inventory'] as $item) @empty@endforelse
ProductStock TypeQuantityUnit Buying CostSelling PriceTotal Buying CostTotal Selling ValuePotential Profit
{{ $item->name }}{{ $item->kind==='cylinder'?'Full cylinders':'Accessories' }}{{ $item->available_qty }}{{ \App\Models\SystemSetting::formatMoney($item->unit_buying) }}{{ \App\Models\SystemSetting::formatMoney($item->full_price) }}{{ \App\Models\SystemSetting::formatMoney($item->buying_total) }}{{ \App\Models\SystemSetting::formatMoney($item->selling_total) }}{{ \App\Models\SystemSetting::formatMoney($item->potential_profit) }}
No products found.
Totals{{ $gasReport['inventory']->sum('available_qty') }}{{ \App\Models\SystemSetting::formatMoney($gasReport['inventory']->sum('buying_total')) }}{{ \App\Models\SystemSetting::formatMoney($gasReport['inventory']->sum('selling_total')) }}{{ \App\Models\SystemSetting::formatMoney($gasReport['inventory']->sum('potential_profit')) }}

Empty Cylinders

@forelse($gasReport['inventory']->where('kind','cylinder') as $item) @empty@endforelse
ProductEmpty QuantityUnit Buying CostTotal Buying Cost
{{ $item->name }}{{ $item->empty_qty }}{{ \App\Models\SystemSetting::formatMoney($item->shell_cost) }}{{ \App\Models\SystemSetting::formatMoney($item->empty_cost) }}
No cylinders found.
Totals{{ $gasReport['inventory']->where('kind','cylinder')->sum('empty_qty') }}{{ \App\Models\SystemSetting::formatMoney($gasReport['inventory']->sum('empty_cost')) }}
Total Inventory Cost Including Empties{{ \App\Models\SystemSetting::formatMoney($gasReport['inventory']->sum('buying_total')+$gasReport['inventory']->sum('empty_cost')) }}