@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('exams'); @endphp
@forelse($schedules as $schedule) @php $attempt = $existingAttempts->get($schedule->id); @endphp @empty @endforelse
Exam Subject Date Status
{{ $schedule->exam->name }} {{ $schedule->courseOffering->subject->name }} {{ $schedule->exam_date?->format('M j, Y') ?? '—' }} {{ $attempt ? ucfirst(str_replace('_', ' ', $attempt->status)) : 'Not started' }} @if($schedule->exam->is_online) @if(! $attempt)
@csrf
@elseif($attempt->status === 'in_progress') Continue @else Submitted @endif @else Offline exam @endif
No exams scheduled yet.