MOH Report
Period : {{ $period }}
Group by : {{ $groupname }}, {{ $groupname2 }}
{{ $groupname }} : {{ $group }}
@php $total_onhand1 = 0; $total_qty = 0; $total_value = 0; $total_onhand2 = 0; @endphp @foreach($data_group2 as $item) @php $total_onhand1 += $item['onhand1']; $total_qty += $item['qty']; $total_value += $item['value']; $total_onhand2 += $item['onhand2']; @endphp @endforeach
@if ($groupname == '') Group @else {{ substr($groupname, 2) }} @endif @if ($groupname2 == '') Group2 @else {{ substr($groupname2, 2) }} @endif {{ __('AvgPrice') }} {{ __('SellPrice') }} {{ __('Stock') }} {{ __('QtySales') }} {{ __('ValSales') }} {{ __('MoH') }} {{ __('StockCentral') }} {{ __('MoHCentral') }}
{{ $item['group'] }} {{ $item['group2'] }} {{ $item['avgprice'] }} {{ $item['sellprice'] }} {{ $item['onhand1'] }} {{ $item['qty'] }} {{ $item['value'] }} {{ $item['moh1'] }} {{ $item['onhand2'] }} {{ $item['moh2'] }}
Total {{ $total_onhand1 }} {{ $total_qty }} {{ $total_value }} {{ $total_onhand2 }}