{{-- Shared layout of every report PDF (App\Services\ReportPdf). Pages extend it and fill the 'content' section; $pdfTitle / $pdfSubtitle come from the controller. --}} @php $business = setting('system_name'); $contact = trim(implode(' | ', array_filter([setting('location'), setting('telephone') ? 'Tel ' . setting('telephone') : null]))); $logo = \App\Models\BrandImage::get('logo'); $brand = brand_color('primary'); $accent = brand_color('secondary'); $tint = brand_tint($brand, 0.92); // boxes and total rows $stripe = brand_tint($brand, 0.965); // every other table row $line = brand_tint($brand, 0.8); @endphp {{ $pdfTitle }} - {{ $business }}
@if($logo)@endif
{{ $business }}
@if($contact)
{{ $contact }}
@endif
{{ $pdfTitle }}
@if(!empty($pdfSubtitle))
{{ $pdfSubtitle }}
@endif
  
@yield('content')