{{-- Cascade Selects --}}
@if ($this->schedule)
Full: {{ $this->schedule->full_marks }} | Pass: {{ $this->schedule->pass_marks }} @if ($this->schedule->exam_date) | {{ $this->schedule->exam_date->format('M d, Y') }} @endif
@endif
@if ($this->isLocked)
Marks editing locked since {{ $this->schedule->exam->marks_editable_until->format('M d, Y') }}. Contact admin to unlock.
@endif @if ($this->schedule && $this->markRows->isNotEmpty())
@if ($this->components->isNotEmpty()) @foreach ($this->components as $component) @endforeach @else @endif @foreach ($this->markRows as $i => $row) @php $student = $row['student']; @endphp @if ($this->components->isNotEmpty()) @php $total = 0; @endphp @foreach ($this->components as $component) @php $mark = $row['marks'][$component->id] ?? null; $total += (float) ($mark?->marks_obtained ?? 0); @endphp @endforeach @else @php $mark = $row['marks']['single'] ?? null; @endphp @endif @endforeach
# Student {{ $component->name }}
({{ $component->full_marks }})
Total Marks
({{ $this->schedule->full_marks }})
Absent Remarks
{{ $i + 1 }}
{{ $student->first_name }} {{ $student->last_name }}
{{ $student->admission_number }}
@if ($this->isLocked || $row['is_absent']) {{ $mark?->marks_obtained ?? '—' }} @else @endif {{ $row['is_absent'] ? '—' : $total }} @if ($this->isLocked || $row['is_absent']) {{ $mark?->marks_obtained ?? '—' }} @else @endif @if ($this->isLocked) @if ($row['is_absent']) @endif @else @endif @if ($this->isLocked) {{ $row['remarks'] }} @else @endif
@elseif ($this->schedule)

No enrolled students found for this grade-section in this session.

@elseif (!$exam_id)

Select an Exam

Choose an exam, grade, and subject to start entering marks.

@endif