@extends('layouts.school') @section('title', 'Examination Reports') @section('header', 'Examination Reports') @section('content')

Total Exams

{{ $total }}

Published

{{ $published }}

Drafts

{{ $unpublished }}

Results

{{ number_format($totalResults) }}

All Examinations

@forelse($exams as $exam) @empty @endforelse
Name Type Class Term Period Marks Status
{{ $exam->name }} {{ $exam->type }} {{ $exam->classroom?->name ?? '—' }} {{ $exam->term?->name ?? '—' }} {{ $exam->start_date ? $exam->start_date->format('M j') : '—' }} – {{ $exam->end_date ? $exam->end_date->format('M j, Y') : '—' }} {{ $exam->total_marks }} (pass {{ $exam->pass_marks }}) {{ $exam->is_published ? 'Published' : 'Draft' }}
No examinations found.
@endsection