{{-- Shared letterhead + screen toolbar for printable reports. Expects: $reportTitle, $periodLabel, $backUrl --}} @php $propName = \App\Models\Setting::get('property_name', config('app.name', 'Parkview Hotel')); $propAddress = \App\Models\Setting::get('property_address', ''); $propCity = \App\Models\Setting::get('property_city', ''); $propPhone = \App\Models\Setting::get('property_phone', ''); $propTin = \App\Models\Setting::get('tin', ''); @endphp {{-- Screen toolbar (hidden on print) --}}
Back to Report
{{-- Letterhead --}}

{{ $propName }}

@if($propAddress || $propCity)

{{ implode(', ', array_filter([$propAddress, $propCity])) }}

@endif @if($propPhone)

{{ $propPhone }}

@endif @if($propTin)

TIN {{ $propTin }}

@endif

{{ $reportTitle }}

{{ $periodLabel }}

Generated {{ now()->format('M j, Y g:i A') }} ยท {{ auth()->user()->name ?? '' }}