@if($mode=='show')
@endif
@if($mode!='show')
@endif
@if($mode=='show')
@endif
@if($mode!='show')
{{-- 従来モード用: 2段階入力モードではLivewire内のhiddenフィールドが優先される --}}
@endif
@php($allocationCount = ($mode === 'edit' && !empty($paymentReceiptHeader->customer_id)) ? app(\App\Repositories\CustomerRepository::class)->getCustomersByReceiptCustomer($paymentReceiptHeader->customer_id)->count() : collect($breakdowns ?? [])->where('receipt_type', 9)->where('amount', '>', 0)->pluck('customer_id')->unique()->count())
@if($mode=='show')
@endif
@if($mode!='show')
@endif