@php $tenant = \App\Support\Facades\Tenancy::get(); $student = $admitCard->student; $primary = $tenant->brand_primary_color ?: '#4f46e5'; $tenantTimezone = $tenant->timezone ?? config('app.timezone'); $local = fn ($carbon) => $carbon?->copy()->setTimezone($tenantTimezone); @endphp Admit Card — {{ $student->fullName() }}

{{ $tenant->name }}

@if($student->branch)

Branch: {{ $student->branch->name }}

@endif

Admit Card

{{ $admitCard->exam->name }}

@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 }}

Admit Card Valid

Class / Section

{{ $admitCard->section->label() }}

Session

{{ $admitCard->exam->academicSession->name }}

Roll No.

{{ $student->roll_number ?? '—' }}

@forelse($rows as $row) @empty @endforelse
Subject Date Time Venue Seat
{{ $row->subject }} {{ $row->exam_date?->format('M j, Y') ?? '—' }} {{ $local($row->starts_at)?->format('g:ia') ?? '—' }}{{ $row->ends_at ? ' – '.$local($row->ends_at)->format('g:ia') : '' }} {{ $row->venue ?? 'TBA' }} @if($row->seat_number) {{ $row->seat_number }} @else — @endif
No exam sittings scheduled yet.