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

Result Entry & Broadsheet

@if($selectedClassArmId && $selectedTermId)

Score entry table for this class/term would render here, pulling from GET /api/class-arms/{{ $selectedClassArmId }}/terms/{{ $selectedTermId }}/broadsheet and posting each cell to POST /api/results.

Once all scores are submitted: POST /api/class-arms/{{ $selectedClassArmId }}/subjects/{subjectId}/terms/{{ $selectedTermId }}/rank computes subject positions, then Principal/VP approval via POST /api/results/{score}/approve unlocks report card generation.

@else

Select a class arm and term to begin.

@endif
@endsection