@extends('layouts.app') @section('title', 'Enter Scores') @section('content')

Score Entry — {{ $subject->name ?? '' }} — {{ $classArm->schoolClass->name ?? '' }} {{ $classArm->name ?? '' }}

@foreach($components ?? ['CA1','CA2','CA3','Exam'] as $component) @endforeach @forelse($students ?? [] as $student) @foreach($components ?? ['CA1','CA2','CA3','Exam'] as $component) @endforeach @empty @endforelse
Student{{ $component }}Total
{{ $student->full_name }}
No students in this class arm.

Each row posts to POST /api/results with the student/subject/term and component scores.

@endsection