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

Lesson cards

Each lesson card is one subject allocation for a class or stream. Cards are the building blocks the generator places on the grid.
Generate timetable
@include('timetable._nav')

Allocation register

Set periods per week and priority. Higher priority cards are placed first by the generator.
@csrf @method('DELETE')
@forelse($cards as $card) @empty @endforelse
Class / streamSubjectTeacherRoom PeriodsDoublePriorityActions
{{ $card->class_name }}
{{ $card->stream ?: 'All streams' }}
{{ $card->subject }} {{ $card->teacher }} {{ $card->room ?: '—' }} {{ $card->periods_per_week }} {!! $card->double_period ? 'Yes' : 'No' !!}
@csrf @method('DELETE')
@csrf
@csrf

Existing cards with the same class, subject and stream are skipped.

@foreach($cards as $card)
@csrf @method('PUT')
@endforeach @endsection