Sales vs Stock Report
Period : {{ $period }}
@foreach($udf_column as $column) @endforeach @php $total_qty = 0; $total_gross = 0; $total_disc = 0; $total_nett = 0; $total_onhand = 0; @endphp @foreach($data as $item) @foreach($udf_column as $column) @endforeach @php $total_qty += $item['qty']; $total_gross += $item['gross']; $total_disc += $item['disc']; $total_nett += $item['nett']; $total_onhand += $item['onhand']; @endphp @endforeach @foreach($udf_column as $column) @endforeach
{{ __('Warehouse') }} {{ __('ItemCode') }} {{ __('CodeBars') }} {{ __('ItemName') }}{{ $column }}{{ __('Qty') }} {{ __('Gross') }} {{ __('Disc') }} {{ __('Nett') }} {{ __('OnHand') }}
{{ Str::limit(strip_tags($item['whs']), 50) }} {{ $item['code'] }} {{ $item['barcode'] }} {{ Str::limit(strip_tags($item['name']), 50) }}{{ $item[$column] }}{{ $item['qty'] }} {{ $item['gross'] }} {{ $item['disc'] }} {{ $item['nett'] }} {{ $item['onhand'] }}
Total{{ $total_qty }} {{ $total_gross }} {{ $total_disc }} {{ $total_nett }} {{ $total_onhand }}