# Lesson Schedule ## Purpose Open **Academic Timetable → Lesson Schedule** (`/lesson-schedule`). One schedule belongs to one academic year, semester, faculty, profession, degree, learning format and course. Create the schedule container here, then use the [schedule editor](/en/docs/lesson-schedule-editor) to place lessons in weekday and hour slots. This is distinct from examination scheduling. ## Prerequisites 1. Create a matching [curriculum](/en/docs/learning-plans) with subjects for the intended course and semester. 2. Calculate the [workload](/en/docs/workload-details) and [assign teaching workload](/en/docs/workload-teaching-load). The timetable does not create arbitrary subjects or teachers. 3. Configure the [academic period](/en/docs/academic-periods) and [period dates](/en/docs/academic-period-details). 4. Configure weekdays for the year and academic-hour slots for the year, degree and learning format. Prepare the academic calendar and [classrooms](/en/docs/institution-classrooms) for on-site lessons. ## Create a schedule Add a record and complete all seven single-selection fields. | Field | Example | |---|---| | Academic year | 2026/27 | | Semester (1 or 2) | 1 | | Educational degree | Bachelor's | | Learning format | Full-time | | Faculty | Computer Science | | Profession | Information Systems | | Course | 2 | Select degree and format before faculty and profession: dependent directories use the preceding selections, and changing a parent resets dependent values. A second active schedule with the same seven values is rejected. Semester 2 takes a separate schedule. Save and open the record. The server already builds the subject and teacher rows from workload assignments but does not allocate days, academic hours or classrooms yet. ## Row sources and synchronization Ordinary rows derive from assigned educator workload for the year, profession, course and semester; united lessons also use the united-lesson relationships to the curriculum, faculty, degree and format. Rows retain educational unit, student count, teacher, subject, subgroups, virtual and elective-group references. Base workload replaced by virtual-group workload is excluded. One subject may have multiple rows, for example a lecture and two laboratory subgroups. If workload changes after creation, open the schedule and use Sync. It compares current assignments with existing rows, inserts new ones, updates remaining student counts, removes obsolete rows and recalculates dates for existing lessons. Rows with grades are protected from complete removal, but lessons and days without grades may be deleted when an assignment disappears. Sync is not a harmless screen refresh: review the workload changes and affected journals first. Sync is unavailable whilst the schedule is approval-locked. ## Manage the list The list supports search, pagination, row selection, content export, opening, editing and deleting subject to permissions. Changing an existing schedule's criteria also synchronizes its rows to the new context. This can affect scheduled classes, so inspect dependent journals first. Deletion moves the schedule to the recycle bin; restoration is a separate permission. Approval-locked records cannot be edited or deleted through ordinary actions. Schedule settings and the conflict audit are described in [schedule review and view](/en/docs/lesson-schedule-view). ## Permissions and scopes The main module is `lesson-schedule`: `schedules.index/show/store/update/destroy`, restoration, `schedules.sync` and settings. Individual lesson actions belong to `lesson-schedule-manage`. Supported scopes are **faculty** and **profession** (`faculty`, `profession`); these routes do not declare other scopes. List access alone does not grant creation, synchronization or lesson assignment. See [Role permissions](/en/docs/role-permissions). ## Missing row Check the precise academic year, semester, course, curriculum and educator assignment to the educational unit. For united lessons, verify that the curriculum participates; for virtual groups, verify workload assignment to that group. Synchronize an unlocked schedule after correcting its source. If rows exist but days or slots are absent, check the academic-week and hour configuration for the context. ## Implementation references - [index.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/AcademicTimetableManagement/LessonSchedule/container/index.tsx) - [LessonScheduleDescriptor.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/AcademicTimetableManagement/LessonSchedule/LessonScheduleDescriptor.tsx) - [LessonScheduleTermField.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/AcademicTimetableManagement/LessonSchedule/LessonScheduleTermField.tsx) - [lessonScheduleContentExport.ts](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/AcademicTimetableManagement/LessonSchedule/lessonScheduleContentExport.ts) - [LessonScheduleItemActions.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/AcademicTimetableManagement/LessonSchedule/components/LessonScheduleItem/components/Actions/LessonScheduleItemActions.tsx) - [academicTimetableRoutes.ts](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/router/routes/academicTimetableRoutes.ts) - [api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/LessonSchedule/routes/api.php) - [StoreScheduleRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/LessonSchedule/Http/Requests/StoreScheduleRequest.php) - [UpdateScheduleRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/LessonSchedule/Http/Requests/UpdateScheduleRequest.php) - [ScheduleService.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/LessonSchedule/Services/ScheduleService.php) - [ModulesSeeder.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/database/seeders/ModulesSeeder.php)