@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; @endphp
@forelse($exams as $exam) @php $classNames = $exam->admitCards ->map(fn($ac) => $ac->section?->schoolClass?->name) ->filter() ->unique() ->sort() ->values(); @endphp @empty @endforelse
# Exam Type Status Classes Generated Total Cards
{{ $loop->iteration }} {{ $exam->name }} {{ ucfirst($exam->exam_type) }} {{ ucfirst($exam->status) }} @if($classNames->isEmpty()) — @else
@foreach($classNames as $className) {{ $className }} @endforeach
@endif
{{ $exam->admit_cards_count }} card{{ $exam->admit_cards_count !== 1 ? 's' : '' }}
No exams found. Create an exam first.