{{-- header --}}
{{-- 仕入先データの保管|デフォルト値として使用 --}}
{{--
--}}
@php($digit = $purchase->currency?->decimal_digits ?? 0)
小計 @php($value = (old('subtotal_standard', $purchase->subtotal_standard) ?? 0) + (old('subtotal_reduced', $purchase->subtotal_reduced) ?? 0) + (old('subtotal_exempt', $purchase->subtotal_exempt) ?? 0)) {{num_format($value, $digit)}}
税金の合計 @php($value1 = old('tax_amount_reduced', $purchase->tax_amount_reduced) ?? 0) @php($value2 = old('tax_amount_standard', $purchase->tax_amount_standard) ?? 0) {{num_format($value1 + $value2, $digit)}}
合計 @php($value = (old('total_standard', $purchase->total_standard) ?? 0) + (old('total_reduced', $purchase->total_reduced) ?? 0) + (old('total_exempt', $purchase->total_exempt) ?? 0)) {{num_format($value, $digit)}}
{{-- detail --}}
@include('user.purchases.partials.show-detail')
{{-- modal --}}