売上・入金日報

{{ $closingdate }}で指定された伝票チェック {{ $printday }}作成 {{ $pagenum }} 頁
@php $subtotal = []; $subtotal['掛売'] = 0; $subtotal['現金'] = 0; $subtotal['返品'] = 0; $subtotal['値引'] = 0; $subtotal['預消費税'] = 0; $subtotal['その他'] = 0; $subtotal['日計'] = 0; $subtotal['月計'] = 0; $subtotal['件数'] = 0; @endphp @foreach($pagedata as $delivery) @php $subtotal['掛売'] += $delivery['total_money1']; $subtotal['現金'] += $delivery['total_money2']; $subtotal['返品'] += $delivery['total_money3']; $subtotal['値引'] += $delivery['total_money4']; $subtotal['預消費税'] += $delivery['total_money7']; $subtotal['その他'] += $delivery['total_money99']; $subtotal['日計'] += $delivery['total_money']; $subtotal['月計'] += $delivery['customer_total']; $subtotal['件数'] += $delivery['detail_count']; @endphp @endforeach

得意先NO

納入先名

掛 売

現 金

返 品

値 引

預消費税

その他

日 計

月 計

{{ $delivery['customer_code'] }}

{{ $delivery['customer_name'] }}

{{ number_format($delivery['total_money1']) }}

{{ number_format($delivery['total_money2']) }}

{{ number_format($delivery['total_money3']) }}

{{ number_format($delivery['total_money4']) }}

{{ number_format($delivery['total_money7']) }}

{{ number_format($delivery['total_money99']) }}

{{ number_format($delivery['total_money']) }}

{{ number_format($delivery['customer_total']) }}

売上件数 {{ $subtotal['件数'] }} 件

{{ number_format($subtotal['掛売']) }}

{{ number_format($subtotal['現金']) }}

{{ number_format($subtotal['返品']) }}

{{ number_format($subtotal['値引']) }}

{{ number_format($subtotal['預消費税']) }}

{{ number_format($subtotal['その他']) }}

{{ number_format($subtotal['日計']) }}

{{ number_format($subtotal['月計']) }}

月累計(全体)

{{ number_format($monthtotal) }}

@if (!empty($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['入金_入金計']) }}

入金値引

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

入金合計

{{ number_format($total['入金_入金合計']) }}

@endif