@php $printBondLink = null; if (request('mode') == 'show') { $printBondLink = match($bond_name) { 'receipt' => route('tenant.accounting.receipts.print', ['id' => $entry->id]), default => '', }; } @endphp @push('script') @endpush