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

Dean Settings

Academic terms, subject list and teacher allocation

@include('partials.flashes')
@foreach ([['terms', 'Academic Terms'], ['subjects', 'Subjects & Allocation']] as [$key, $label]) {{ $label }} @endforeach
@if ($tab === 'terms')
@forelse ($terms as $term) @csrf @method('PUT') @csrf @method('DELETE') @empty @endforelse
Term Year Start Date End Date Actions
No terms yet.
@csrf

Add Term

@csrf

Promote Students

Form 4 graduates, everyone else moves one class up.

@foreach ($studentCounts as $form => $count) {{ $form }}: {{ $count }} @endforeach
@endif @if ($tab === 'subjects')

Subjects · {{ $form }} {{ $stream }}

{{ $subjectsByForm[$form]->count() ?? 0 }} subjects
@csrf
@forelse ($subjectsByForm[$form] ?? collect() as $i => $subject) @empty @endforelse
# Subject Category Pathway
{{ $i + 1 }}
No subjects for this class yet.

Teacher Allocations · {{ $form }} {{ $stream }}

{{ $allocations->count() }} allocated
@csrf @foreach ($subjectsByForm[$form] ?? collect() as $subject)
@endforeach

Copy Subjects

Copy {{ $form }} subjects to other classes (missing subjects only).

@csrf @foreach (\App\Support\Academics::FORMS as $f) @if ($f !== $form) @endif @endforeach
@endif
@endsection @push('scripts') @endpush