@php $b = $branding ?? []; $inst = (array) ($b['institution'] ?? []); $primary = $b['colors']['primary'] ?? '#1E3A8A'; @endphp {{ $documentTitle ?? 'Document Branding Preview' }} @include('loan.documents.pdf.partials.styles', ['branding' => $b]) @include('loan.documents.pdf.partials.header', ['branding' => $b]) @include('loan.documents.pdf.partials.watermark', ['branding' => $b]) @include('loan.documents.pdf.partials.footer', ['branding' => $b])
{{ $documentTitle ?? 'Document Branding Preview' }}
Controlled multipage sample — not a legal customer document
PREVIEW
Reference
{{ $documentReference ?? 'PREVIEW' }}
Template
{{ $documentVersion ?? 'doc-shell-1.0' }}
Generated
{{ $generatedAt ?? '' }}
Sample QR placeholder zone for layout validation.
1. Institution Identity
Legal Name{{ $inst['legal_name'] ?? '—' }} Display Name{{ $inst['display_name'] ?? '—' }}
Address{{ $inst['address'] ?: 'Not configured' }}
Phone{{ $inst['phone'] ?: '—' }} Email{{ $inst['email'] ?: '—' }} Website{{ $inst['website'] ?: '—' }}
2. Long Name & Colour Check

This paragraph validates wrapping for long institution names such as {{ $inst['legal_name'] ?? 'Sample Microfinance Institution Limited Trading As Extended Brand Name' }} and confirms primary accent colour on section bars and emphasis text.

3. Multipage Table Sample
@for ($i = 1; $i <= 12; $i++) @endfor
# Sample Item Description Amount
{{ $i }} Sample collateral {{ $i }} Layout row to force page continuation and repeating table headers. {{ number_format(1000 * $i, 2) }}
4. Signature Keep-Together
Sample Declaration

“This preview confirms signature blocks remain intact across branding modes.”

Date{{ $generatedAt ?? '—' }} StatusPreview only Human Resource Manager @include('loan.documents.pdf.partials.hr-stamp', ['branding' => $b, 'stampDateLabel' => \App\Support\Payroll\PayrollStampDate::label(now())])
5. Metadata Zone
Header Mode{{ $b['header_mode'] ?? 'system' }} Footer Mode{{ $b['footer_mode'] ?? 'system' }}
Watermark{{ $b['watermark_mode'] ?? 'none' }} Primary Colour{{ $primary }}
QR Placeholder
QR
Confidential

{{ $b['disclaimer'] ?? 'Preview document for branding validation only.' }}