@php $palette = $themePalette ?? (is_array($theme ?? null) ? $theme : \App\Support\ThemePalette::resolveShades('emerald')); @endphp Examination Admit Cards @include('reports.partials.font') @php $cardChunks = array_chunk($admitCards, 2); $resolvedSchoolName = !empty($branding['school_name']) ? $branding['school_name'] : (!empty($tenant?->school_name) ? $tenant->school_name : (!empty($tenant?->name) ? $tenant->name : 'Smart Model School')); $resolvedAddress = !empty($branding['address']) ? $branding['address'] : (!empty($tenant?->address) ? $tenant->address : 'Dhaka, Bangladesh'); $resolvedPhone = !empty($branding['phone']) ? $branding['phone'] : (!empty($tenant?->phone) ? $tenant->phone : '01700-000000'); @endphp @foreach($cardChunks as $chunkIndex => $pageCards) @foreach($pageCards as $index => $c)
@if(!empty($schoolLogo)) @endif
Logo
{{ $resolvedSchoolName }}
{{ $resolvedAddress }} • Tel: {{ $resolvedPhone }}
ADMIT CARD — {{ $exam->name ?? 'TERM EXAMINATION' }}
ACADEMIC SESSION: {{ $c['academic_year'] }}
Issued: {{ $generatedDate }}
Examinee Name: {{ $c['name'] }} Roll Number: {{ $c['roll_number'] }} @if(!empty($c['photo'])) Photo @else
PHOTO
@endif
Admission No: {{ $c['admission_number'] }} Class & Section: {{ $c['class_name'] }} (Section {{ $c['section_name'] }})
Gender: {{ ucfirst($c['gender']) }} Exam Center: {{ $c['hall_name'] }}
@forelse($c['schedule'] as $sched) @empty @endforelse
Subject Name Code Exam Date Time Schedule Invigilator
{{ $sched['subject_name'] }} {{ $sched['subject_code'] }} {{ $sched['exam_date'] }} {{ $sched['time_slot'] }} _______
Exam routine is being finalized by examination controller.
Instructions to Candidate:
1. Candidate must bring this original Admit Card to each examination session and show on demand.
2. Entry prohibited after 15 minutes of exam start. Electronic gadgets, mobile phones, or smart watches are strictly banned in the hall.
@if(!$loop->last)
✂ CUT HERE / SEPARATION LINE ✂
@endif @endforeach @if(!$loop->last)
@endif @endforeach