{{date('Y年n月j日', strtotime('today'))}}
〒{{ $billing->zip_code }}
御請求書
{{ $billing->address_1 }}
{{ $billing->address_2 }}
株式会社宮川運輸
{{ $billing->name }}御中
〒455-0843名古屋市港区錦町13番12号
毎度ありがとうございます。
TEL 052-398-6058FAX 052-398-6059
下記の通りご請求させて頂きます。
名古屋銀行 港支店(普)3608143
カ)ミヤガワウンユ
@php $tax_price = round($total_price * $tax); @endphp @php $recalc_total_price = $total_price + $tax_price; $recalc_total_price = $recalc_total_price + intval($params['this_month_carried']); $recalc_total_price = $recalc_total_price - intval($params['this_month_adjust']); @endphp
前月御請求額 御入金額 繰越金額 調整額 当月御買上額 消費税額 当月御請求額
@if(!empty($params['last_month_invoice']))@lang('system.unit.yen-mark'){{ number_format($params['last_month_invoice']) }}@else{{ '-' }}@endif @if(!empty($params['last_month_payment']))@lang('system.unit.yen-mark'){{ number_format($params['last_month_payment']) }}@else{{ '-' }}@endif @if(!empty($params['this_month_carried']))@lang('system.unit.yen-mark'){{ number_format($params['this_month_carried']) }}@else{{ '-' }}@endif @if(!empty($params['this_month_adjust']))@lang('system.unit.yen-mark'){{ '-'.number_format($params['this_month_adjust']) }}@else{{ '-' }}@endif @lang('system.unit.yen-mark'){{ number_format($total_price) }} @lang('system.unit.yen-mark'){{ number_format($tax_price) }}@lang('system.unit.yen-mark'){{ number_format($recalc_total_price) }}
@foreach ($invoices->cursor() as $invoice) @endforeach @php $count = 9 - $invoices->count(); @endphp @for ($i = 0; $i < $count; $i++) @endfor
日付 品名 数量 単位 単価 金額 備考
{{ date('n月j日', strtotime($invoice->date)) }}
{{ $invoice->item_1 }}
{{ $invoice->item_2 }} 
@if(!empty($invoice->quantity)){{ number_format($invoice->quantity, 2) }}@endif
@if(!empty($invoice->unit)){{ config('const.UNITS.'.$invoice->unit) }}@endif
@if(!empty($invoice->unit_price)){{ number_format($invoice->unit_price) }}@endif
@if(!empty($invoice->quantity) && !empty($invoice->unit_price)){{ number_format($invoice->unit_price*$invoice->quantity) }}@endif
 
 
小計
{{ number_format($total_price) }}
消費税
{{ number_format($tax_price) }}
合計
{{ number_format($total_price + $tax_price) }}