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

{{ $tenant->name }}

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

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

@endif
Testimonial

প্রত্যয়নপত্র

Certificate No: {{ $testimonial->certificate_number }} Date of Issue: {{ $testimonial->issued_at->format('M j, Y') }}
@if($student->photo_path) Photo of {{ $student->fullName() }} @else {{ strtoupper(mb_substr($student->first_name, 0, 1).mb_substr($student->last_name, 0, 1)) }} @endif

{{ $student->fullName() }}

{{ $student->student_code }}

Last Class: {{ $testimonial->last_class }} @if($student->academicSession)  ·  Session: {{ $student->academicSession->name }} @endif

@if($student->father_name || $student->mother_name)

@if($student->father_name) Father's Name: {{ $student->father_name }} @endif @if($student->father_name && $student->mother_name)  ·  @endif @if($student->mother_name) Mother's Name: {{ $student->mother_name }} @endif

@endif

{{ $testimonial->statement }}

Conduct & Character: {{ $conductLabels[$testimonial->conduct] ?? $testimonial->conduct }}
@if($classTeacherSignaturePath) Class Teacher signature @else
@endif
Class Teacher
@if($classTeacherName)
{{ $classTeacherName }}
@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