@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
{{ $tenant->name }}
@if($student->branch)Branch: {{ $student->branch->name }}
@endifAdmit Card
{{ $admitCard->exam->name }}
{{ $student->fullName() }}
{{ $student->student_code }}
| 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. | ||||