@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($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())
{{-- 初期表示用ボタン(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 {{-- エラー表示 --}} {{-- modal --}} {{-- 振分モーダル --}}
{{-- モーダルコンテンツはLivewireから動的に挿入される --}}