@extends('layouts.admin') @section('title', setting('school_name', 'ShulePoint') . ' | Create Timetable for My Class') {{-- Block form: the inline @section($name, $value) form does not compile {{ }}, so the class name would be printed as literal echo() text. --}} @section('page-title') Create Timetable — {{ $class->name }} @endsection @section('content')
Back to My Timetable

New Timetable for {{ $class->name }}

@csrf
@error('term_id'){{ $message }}@enderror
@error('name'){{ $message }}@enderror

Periods

Add periods manually or use the AI assistant to draft a balanced schedule.

{{-- Periods will be added dynamically --}}

Tips

Period Structure

Each period needs: Subject, Teacher (optional), Day, Start/End Time, Period Number, Room (optional), Type.

Period Numbers

Period numbers (1-12) determine display order within a day. Keep them sequential.

Types

Lesson = regular class. Break = recess/lunch. Assembly = morning assembly. Activity = sports/clubs. Study = supervised study.

AI Generation

For best results, ensure subjects have assigned teachers. Use the AI assistant for a balanced weekly schedule.

@push('scripts') @endpush @endsection