請求一覧表

@php $ClosedDay = '-'; if ($viewdata['formdata']['closing_day'] == 99) { $ClosedDate = '末締'; } else { $ClosedDate = $viewdata['formdata']['closing_day'] . ' 日締'; } @endphp
{{ $viewdata['formdata']['start_date'] }} ~ {{ $viewdata['formdata']['end_date'] }} ( {{ $ClosedDate }} ) 出力日:{{ date('Y-m-d') }} {{ $pagenum }} / {{ $pagetotal }} 頁
@php $subtotal = []; $subtotal['前回御請求額'] = 0; $subtotal['入金額'] = 0; $subtotal['入金値引額'] = 0; $subtotal['差引繰越高'] = 0; $subtotal['当月売上高'] = 0; $subtotal['当月返品値引'] = 0; $subtotal['当月純売上高'] = 0; $subtotal['消費税額'] = 0; $subtotal['当月御請求高'] = 0; @endphp @foreach($pagedata as $invoice) @php $subtotal['前回御請求額'] += $invoice['前回御請求額']; $subtotal['入金額'] += $invoice['入金額']; $subtotal['入金値引額'] += $invoice['入金値引額']; $subtotal['差引繰越高'] += $invoice['差引繰越高']; $subtotal['当月売上高'] += $invoice['当月売上高']; $subtotal['当月返品値引'] += $invoice['当月返品値引']; $subtotal['当月純売上高'] += $invoice['当月純売上高']; $subtotal['消費税額'] += $invoice['消費税額']; $subtotal['当月御請求高'] += $invoice['当月御請求高']; @endphp @endforeach @if (!empty($total)) @endif

得意先NO

得意先名

前回御請求額

入 金 額

値 引 額

差引繰越高

当月売上高

当月返品値引

当月純売上高

消費税額

当月御請求高

{{ $invoice['得意先NO'] }}

{{ $invoice['得意先名'] }}

{{ number_format($invoice['前回御請求額']) }}

{{ number_format($invoice['入金額']) }}

{{ number_format($invoice['入金値引額']) }}

{{ number_format($invoice['差引繰越高']) }}

{{ number_format($invoice['当月売上高']) }}

{{ number_format($invoice['当月返品値引']) }}

{{ number_format($invoice['当月純売上高']) }}

{{ number_format($invoice['消費税額']) }}

{{ number_format($invoice['当月御請求高']) }}

☆合 計 {{ $total['件数'] }} 件

{{ number_format($total['前回御請求額']) }}

{{ number_format($total['入金額']) }}

{{ number_format($total['入金値引額']) }}

{{ number_format($total['差引繰越高']) }}

{{ number_format($total['当月売上高']) }}

{{ number_format($total['当月返品値引']) }}

{{ number_format($total['当月純売上高']) }}

{{ number_format($total['消費税額']) }}

{{ number_format($total['当月御請求高']) }}