@if (empty($groups))
| {{ $group['name'] }} | @lang('lang_v1.psp_stock_balance') | @foreach ($months as $ym => $label){{ $label }} | @endforeach|
|---|---|---|---|
| @lang('lang_v1.psp_purchase') | @lang('lang_v1.psp_sales') | @endforeach||
| {{ $product['name'] }} @if ($product['type'] === 'variable') ({{ __('lang_v1.variable') }}) @endif | {{ @format_quantity($stock[$product_id] ?? 0) }} | @foreach ($months as $ym => $label) @php $purchase_qty = $product['purchase'][$ym] ?? 0; $sales_qty = $product['sales'][$ym] ?? 0; @endphp{{ @format_quantity($purchase_qty) }} | {{ @format_quantity($sales_qty) }} | @endforeach