@extends('layouts.school') @section('title', 'Results') @section('header', 'Results & Report Cards') @section('content')
| Pos | Student | Total | Average | Grade | Status | Missing Scores | |
|---|---|---|---|---|---|---|---|
| {{ $row['position'] ?? '-' }} | {{ $row['student']->full_name }} @if($sheetStatus){{ $sheetStatus }}@endif | {{ $row['total'] ?? '-' }} | {{ $row['average'] !== null ? $row['average'].'%' : '-' }} | {{ $row['grade'] ?? '-' }} | {{ $sheetStatus ? ucfirst($sheetStatus) : 'Not computed' }} | {{ $missing > 0 ? $missing.' missing' : 'Complete' }} | Report Card |
| No active students in this class. | |||||||
| Subject | Class Avg | Highest | Lowest |
|---|---|---|---|
| {{ $subject->name }} | {{ $computed['subjectAverages'][$subject->id] !== null ? $computed['subjectAverages'][$subject->id].'%' : '-' }} | {{ $computed['subjectStats'][$subject->id]['highest'] ?? '-' }} | {{ $computed['subjectStats'][$subject->id]['lowest'] ?? '-' }} |