@php $tenant = \App\Support\Facades\Tenancy::get(); $brandStyle = $tenant->brand_primary_color ? ":root { --color-brand-600: {$tenant->brand_primary_color}; } .dark { --color-brand-600: {$tenant->brand_primary_color}; }" : null; @endphp
@if($errors->any())
    @foreach($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
Class Teacher signatures don't need a slot here — they're pulled automatically from each teacher's own profile signature. Use this page for institution-wide signatories like Principal or Head Master, whose signature should follow whoever currently holds that designation.
@forelse($signatories as $signatory)
@if($signatory->signature_path) {{ $signatory->title }} signature @else No signature uploaded @endif

{{ $signatory->title }}

@if($signatory->designation)

Follows: {{ $signatory->designation }}

@endif

@if($signatory->holder) Currently {{ $signatory->holder->fullName() }} @else No one currently holds this designation @endif

@if($signatory->appliesToAllDocuments()) Appears on all documents @else Appears on: {{ $documentTypes->whereIn('id', $signatory->applies_to)->pluck('name')->join(', ') }} @endif

@empty
No signatories added yet.
@endforelse
@csrf

When set, this signatory always resolves to whoever currently holds this designation — useful so the signature stays correct when staff change.

@foreach($documentTypes as $documentType) @endforeach

Leave all unchecked to show this signatory on every document. Check specific ones (e.g. only Exam Routine) to limit where it appears.

Signature preview

A clear image of the signature on a plain background works best (PNG with transparency is ideal).

These are the documents a signatory's "Applies To" can be limited to. Class Routine and Exam Routine are built-in (used by the routine PDFs) and can be renamed but not deleted — add, rename, or delete any others freely.

@forelse($documentTypes as $documentType) @empty @endforelse
Name
{{ $documentType->name }} @if($documentType->is_system) Built-in @endif @unless($documentType->is_system) @endunless
No document types yet.
@csrf
@csrf @method('PUT')