@php($clsRequired = ($mode!='show') ? 'required' : '') @php($assist = App\Services\Logic\Assist::class)
{{-- header --}}
@if($mode=='show') @endif @if($mode!='show') @endif
@if($mode=='show') @endif @if($mode!='show') {{-- 従来モード用: 2段階入力モードではLivewire内のhiddenフィールドが優先される --}} @endif
@php($allocationCustomerId = old('customer_id', $paymentReceiptHeader->customer_id ?? null)) @php($allocationCount = (in_array($mode, ['edit', 'create']) && !empty($allocationCustomerId)) ? app(\App\Repositories\CustomerRepository::class)->getCustomersByReceiptCustomer($allocationCustomerId)->count() : collect($breakdowns ?? [])->where('receipt_type', 9)->where('amount', '>', 0)->pluck('customer_id')->unique()->count())
{{-- 初期表示用ボタン(JavaScriptで動的更新される) --}} @if($allocationCount >= 2) @endif
@if($mode=='show') @endif @if($mode!='show') @endif
{{-- detail --}}
{{-- 横スクロール対応 --}}
@if(false) {{-- 消込機能一時非表示 --}} {{-- サイドパネル(消込パネル)- fixedポジションで画面右端にオーバーレイ表示 --}} {{-- visibility制御でLivewireイベントを正常動作させる(x-showはdisplay:noneでwire:clickが動作しない) --}} @if($mode != 'show')
{{-- 背景オーバーレイ --}}
{{-- サイドパネル本体 --}}
@include('user.payment-receipt-new.partials.matching-side-panel')
@endif @endif {{-- エラー表示 --}} {{-- 銀行名サジェスト用 datalist(明細行の bank_name input から list="bank-names" で参照) --}} {{-- modal --}} {{-- 振分モーダル(専用構造:高さ制限+スクロール対応) --}}