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

Substitutions

Record absent teachers and allocate cover for each affected lesson. Substitute teachers receive the updated duty list.
@include('timetable._nav')

Cover register

Lessons affected by staff absence on the selected date.
@forelse($substitutions as $substitution) @empty @endforelse
PeriodClassSubjectOriginal teacherSubstituteStatusActions
{{ $substitution->period }} {{ $substitution->class_name }} {{ $substitution->subject }} {{ $substitution->original_teacher }} @if($substitution->substitute_teacher) {{ $substitution->substitute_teacher }} @else Uncovered @endif
@csrf @method('DELETE')
@csrf

Lessons are read from the active timetable for the selected weekday.

@csrf
@foreach($substitutions as $substitution)
@csrf @method('PUT')
@endforeach @endsection