@php $tenant = \App\Support\Facades\Tenancy::get(); $student = $certificate->student; $primary = $tenant->brand_primary_color ?: '#1e3a8a'; $conductLabels = ['excellent' => 'Excellent', 'very_good' => 'Very Good', 'good' => 'Good', 'satisfactory' => 'Satisfactory']; @endphp Transfer Certificate — {{ $student->fullName() }}

{{ $tenant->name }}

@if($student->branch?->address)

{{ $student->branch->address }}

@endif

Transfer Certificate

Certificate No: {{ $certificate->certificate_number }} Date of Issue: {{ $certificate->issued_at->format('M j, Y') }}

This is to certify that {{ $student->fullName() }} ({{ $student->gender === 'female' ? 'daughter' : ($student->gender === 'male' ? 'son' : 'child') }} of {{ $student->father_name ?? $student->guardians->firstWhere('relationship', 'father')?->fullName() ?? '—' }}), bearing Student ID {{ $student->student_code }}, was a bona fide student of this institution and was studying in {{ $certificate->last_class }}{{ $certificate->last_section ? ' - '.$certificate->last_section : '' }} at the time of leaving. He/She is being granted this Transfer Certificate at the request of the guardian.

@if($certificate->remarks) @endif
Date of Admission {{ $certificate->date_of_admission?->format('M j, Y') ?? '—' }}
Date of Leaving {{ $certificate->date_of_leaving->format('M j, Y') }}
Reason for Leaving {{ $certificate->reason_for_leaving }}
Conduct & Character {{ $conductLabels[$certificate->conduct] ?? $certificate->conduct }}
Promoted to Next Class {{ $certificate->promoted_to_next_class ? 'Yes' : 'No' }}
All Dues Cleared {{ $certificate->dues_cleared ? 'Yes' : 'No' }}
Remarks {{ $certificate->remarks }}
@if($classTeacherSignaturePath) Class Teacher signature @else
@endif
Class Teacher @if($classTeacher)
{{ $classTeacher->fullName() }}
@endif
@forelse($signatureBlocks as $block)
@if($block['path']) {{ $block['title'] }} signature @else
@endif
{{ $block['title'] }} @if($block['name'])
{{ $block['name'] }}
@endif
@empty
Principal / Head Teacher
@endforelse
QR code

Scan to verify