{{-- header --}}
@if($ref->confirmed || $ref->confirmedPart) {{-- 請求集計確定済 #C28 / 出荷済 #C18 --}} @else @endif {{-- 得意先データの保管|荷送人・同封伝票のデフォルト値として使用 --}}
@if($ref->confirmed || $ref->confirmedPart) {{-- 請求集計確定済 #C28 --}} @else
@php($disabled = (old('delivery_id', $sales->delivery_id) == ''))
@endif
@php($hidden = Enum::match('SenderType.Specified', old('sender_type', $sales->sender_type))? '': 'hidden')
@if($ref->confirmed || $ref->confirmedPart) {{-- 請求集計確定済 #C18 --}} @else @endif
@if($ref->confirmed || $ref->confirmedPart) {{-- 請求集計確定済 #C28 --}} @else @endif
@if($ref->confirmed || $ref->confirmedPart) {{-- 請求集計確定済 #C28 --}} @else @endif
@if($ref->confirmed || $ref->confirmedPart) {{-- 請求集計確定済 #C28 --}} @else @endif
{{--
--}}
小計 @php($value = (old('subtotal_standard', $sales->subtotal_standard) ?? 0) + (old('subtotal_reduced', $sales->subtotal_reduced) ?? 0) + (old('subtotal_exempt', $sales->subtotal_exempt) ?? 0)) {{num_format($value)}}
消費税(8%) @php($value = old('tax_amount_reduced', $sales->tax_amount_reduced) ?? 0) {{num_format($value)}}
消費税(10%) @php($value = old('tax_amount_standard', $sales->tax_amount_standard) ?? 0) {{num_format($value)}}
合計 @php($value = (old('total_standard', $sales->total_standard) ?? 0) + (old('total_reduced', $sales->total_reduced) ?? 0) + (old('total_exempt', $sales->total_exempt) ?? 0)) {{num_format($value)}}
{{-- @dump(session()->getOldInput()) --}} {{-- detail --}}
{{-- modal --}}