受取手形一覧表(2)

{{ date('Y-m', strtotime($viewdata['formdata']['date_from'])) }} 月度 出力日:{{ date('Y-m-d') }} {{ $pagenum }} / {{ $pagetotal }} 頁
@foreach($viewdata['header']['Prices'] as $YM => $val) @if($YM != 'After') @else @endif @endforeach @php $subtotal = []; $subtotal['件数'] = 0; foreach($viewdata['header']['Prices'] as $YM => $val) { $subtotal[$YM] = 0; } $subtotal['客計'] = 0; @endphp @foreach($pagedata as $customer) @foreach($viewdata['header']['Prices'] as $YM => $val) @endforeach @php $subtotal['件数']++; foreach($viewdata['header']['Prices'] as $YM => $val) { $subtotal[$YM] += $customer['Prices'][$YM]; } $subtotal['客計'] += $customer['TotalPrice']; @endphp @endforeach @if (!empty($total)) @foreach($viewdata['header']['Prices'] as $YM => $val) @endforeach @endif
得意先NO 得意先名{{ $YM }}以降
{{ $customer['CustomerCode'] }} {{ $customer['CustomerName'] }}{{ number_format($customer['Prices'][$YM]) }}{{ number_format($customer['TotalPrice']) }}
☆合計 {{ $total['件数'] }} 件{{ number_format($total[$YM]) }}{{ number_format($total['客計']) }}