# Schedule review, audit and approval ## View a schedule The route `/lesson-schedules/view/:id` displays the record title, attributes, action panel and the same table used by the [editor](/en/docs/lesson-schedule-editor). It is an alternative presentation, not a separate copy or a guaranteed read-only mode: permissions and approval locking determine whether edits are allowed. The details route `/lesson-schedules/:id` additionally contains settings, export, the approval panel and inline content history. A weekday filter affects only the current display. Open a lesson cell to inspect teacher, classroom or online status and week type. The subject's dates icon opens the generated journal days grouped by assigned slot. Where several educational units are present, unit names distinguish similar slots. Expand all date groups or an individual slot and compare with the calendar. ## Individual journal days The dates list for an individual slot offers adding a date, deleting a day and Clear all. These actions change actual journal days, not grid presentation. A manually added day is subject to server validation: when a matching academic period exists it must lie between the start and end plus one calendar month, in addition to lesson rules and destination conflicts. Normal generation uses the strict period bounds, so this is not a way to assign an arbitrary generation range. Deleting a selection containing a confirmed day is blocked by the server. Do not clear journal days merely to adjust the calendar. For post-approval moves, check the [grade-book schedule-change workflow](/en/docs/gradebook-schedule-change). Even if actions are visible, the server still enforces permissions and approval locking. ## Required lesson location Module settings are available in the list and details to users with `lesson-schedule.settings`. Required lesson location (`classroom_required`) is a module-wide setting, not specific to a semester or faculty. | Setting | On-site lesson | Checks | |---|---|---| | Enabled (default) | Classroom required | Teacher and classroom occupancy | | Disabled | Classroom optional | Teacher conflicts remain; classroom occupancy checks are disabled in the generator | | Either value, online | Classroom optional | An assigned classroom can conflict when classroom checks are enabled | Disabling the requirement does not remove restrictions on teacher time or branch/building. This is an organizational setting, not a means of allowing a teacher to be double-booked. Do not change it just to resolve one conflict. ## Audit before enabling the location requirement When switching from disabled to enabled, the server checks existing journal days for the same classroom, date and academic-hour ID across different lesson assignments. Conflicts prevent the setting from being saved and open a list showing date, time, classroom, subject and teacher. Details are hidden for inaccessible rows; an edit link is provided only for accessible records when the operator can edit them. 1. Open the conflicting schedule in the editor. 2. Check the student count, classroom capacity and availability. 3. Select a free classroom or slot and preview again. 4. Save the correction. 5. Refresh the settings conflict list, then re-enable the requirement once conflicts are resolved. This audit specifically detects classroom occupancy collisions. It is not a complete list of lessons without assigned rooms, a capacity check or a comprehensive student timetable audit. Separately review concurrent lessons for the same group, capacity, equipment and teacher availability. ## Review before approval - Compare rows with actual workload and synchronize the draft. - Inspect each lesson's preview for unexplained skipped, conflicting or reserved dates. - Check the calendar, academic periods, united cohorts, subgroups, online links, capacity and journal days. - Use the approval panel in the details page if an approval process has been created for the record. Opening the view route does not itself change status. Roles, steps and sequence are configured in [Approval flows](/en/docs/approval-flows); participant actions and versions are described in [Approval process history](/en/docs/approval-process-history). An approval lock blocks changes to criteria, deletion, synchronization, changes to lessons and structural changes to journal days. Reading remains available. Inline content history shows changes and deleted records. Grading and editing journal content are separate from permission to change the schedule. ## Export and access The list supports content export for selected records; the details page has a separate record export button. Content templates are selected using educational degree and learning format. See [Content export templates](/en/docs/content-export-templates). Export does not assign lessons, approve a schedule or cancel access restrictions. Both routes are guarded by `lesson-schedule`; reading the details requires the relevant permission. Individual lessons and days use `lesson-schedule-manage`, including `employee-schedules.index/store/update/destroy`; journal day creation and removal are bound to lesson creation and deletion permissions. Schedule scopes are faculty and profession. Settings have their own `lesson-schedule.settings` permission. Give a view-only operator read permissions without assigning edit, delete and sync actions, then verify access using [Role permissions](/en/docs/role-permissions). ## Implementation references - [index.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/AcademicTimetableManagement/LessonSchedule/components/LessonScheduleView/App/index.tsx) - [index.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/AcademicTimetableManagement/LessonSchedule/components/LessonScheduleView/components/LessonScheduleViewTable/index.tsx) - [LessonScheduleItem.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/AcademicTimetableManagement/LessonSchedule/components/LessonScheduleItem/App/LessonScheduleItem.tsx) - [LessonScheduleSettings.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/AcademicTimetableManagement/LessonSchedule/components/LessonScheduleSettings.tsx) - [index.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/AcademicTimetableManagement/LessonSchedule/components/LessonScheduleItem/components/LessonScheduleItemTable/components/SubjectsColumnContent/components/DatesPopoverContent/index.tsx) - [index.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/AcademicTimetableManagement/LessonSchedule/components/LessonScheduleItem/components/LessonScheduleItemTable/components/SubjectsColumnContent/components/DatesPopoverForm/index.tsx) - [lessonScheduleContentExport.ts](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/AcademicTimetableManagement/LessonSchedule/lessonScheduleContentExport.ts) - [api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/LessonSchedule/routes/api.php) - [StoreJournalDayFormRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/LessonSchedule/Http/Requests/StoreJournalDayFormRequest.php) - [JournalDayService.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/LessonSchedule/Services/JournalDayService.php) - [LessonScheduleSettings.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/LessonSchedule/Services/LessonScheduleSettings.php) - [LessonScheduleSettingsController.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/LessonSchedule/Http/Controllers/LessonScheduleSettingsController.php) - [EmployeeScheduleOccurrencePlanner.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/LessonSchedule/Services/EmployeeScheduleOccurrencePlanner.php)