@php $tenant = \App\Support\Facades\Tenancy::get(); $brandStyle = $tenant->brand_primary_color ? ":root { --color-brand-600: {$tenant->brand_primary_color}; } .dark { --color-brand-600: {$tenant->brand_primary_color}; }" : null; $isUniversity = $tenant->institution_type === 'university'; $navGroups = \App\Support\Navigation\StudentNav::groups('admit-cards'); @endphp
@forelse($admitCards as $admitCard)

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

{{ $admitCard->exam->academicSession->name }}  ·  Generated {{ $admitCard->generated_at->format('M j, Y') }}

@php $dates = $admitCard->exam->schedules ->pluck('exam_date') ->filter() ->sort(); $startDate = $dates->first(); $endDate = $dates->last(); @endphp @if($startDate)

Exam period: {{ $startDate->format('M j, Y') }} @if($endDate && $endDate->ne($startDate)) – {{ $endDate->format('M j, Y') }} @endif

@endif
@empty

No admit card yet

Your admit card will appear here once your school generates it for an exam.

@endforelse