@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
@csrf @if($selectedClassId) @endif
@if($results->isNotEmpty() && $results->contains(fn ($r) => $r->status !== 'published')) @endif
@if($classes->isNotEmpty()) @if($selectedClassId) @php $r = $readiness->get($selectedClassId); @endphp

{{ $r['registered'] }} student(s) registered in this class · {{ $r['computed'] }} computed · {{ $r['published'] }} published. @if($r['computed'] < $r['registered']) Some students haven't been computed yet — check that marks are fully entered for every subject before computing. @endif

@endif @endif
@if($exam->grading_mode === 'gpa') @endif @forelse($results as $result) @if($exam->grading_mode === 'gpa') @endif @empty @endforelse
Rank Student Class PercentageGPAGrade Result Status
{{ $result->rank ?? '—' }} {{ $result->student->fullName() }} {{ $result->student->section?->schoolClass?->name ?? '—' }} {{ $result->percentage ?? '—' }}%{{ $result->gpa ?? '—' }}{{ $result->letter_grade ?? '—' }} {{ $result->is_pass ? 'Pass' : 'Fail' }} {{ ucfirst($result->status) }}
No results computed yet — click "Compute Results".