Skip to content
Kamoorjdocs
Documentation

Educators' Unavailable Days

Department and semester restriction sets, educator selection and access.

On this page

Purpose

Open Academic Timetable → Educators' Unavailable Days (/educators-unavailable-days). A department can record weekdays, academic hours and buildings where an educator cannot work. These records are used when generating lesson schedules and validating journal-day moves. They are recurring semester restrictions, not holidays, one-off absences or an educator's existing timetable.

Create a restriction set

The list shows academic year, semester and department. Search uses the department name; academic-year and department filters, pagination and server-side table export are supported. Add a record and complete the required fields.

Field Example
Academic year 2026/27
Semester 1 (the UI offers 1 or 2)
Academic department Department of Programming

Each combination of year, department and semester must be unique. Create a separate record for semester 2. A set has no faculty, profession, educational degree, learning format or timetable-type selection. Saving creates a restriction container but does not automatically impose restrictions on all departmental educators.

A set with assigned employees cannot be moved to another department. Changing the year or semester changes the context of existing restrictions, so verify them first. Deleting the set removes its employee records and individual settings; no recycle-bin workflow is provided.

Add educators

Open a record (/educators-unavailable-days/:id). Its heading shows the year, semester and department. Choose Add in the empty state or, after the first addition, in the action panel above the list.

  1. The selection dialog requests employees using the selected department and academic year.
  2. Find the employee by name or email. The list loads more records as you scroll.
  3. Select one or more employees. Select all selects currently loaded employees, not necessarily the entire department; scroll to load the rest if necessary.
  4. Save. Employees already present are not added again; unchecking an existing employee does not delete their record.
  5. Choose Configure for each educator to enter their actual restrictions.

Bulk addition creates individual cards. It does not apply one unavailable timetable to everyone selected. After further searching or loading data, verify the checkboxes before saving, because form selections may refresh. Use the delete action on an individual card to remove the employee from the set.

View and manage educators

Collapsible cards show names and email addresses. Expand a card to inspect Undesirable Days & Times, branch/building pairs and comment. Expand or collapse all cards together. A dash means that part of the configuration is empty.

Configure opens individual restrictions. Removing an employee removes restrictions in that set, not their HR record. Restrictions from another set for the same academic year and semester may still apply.

The set has a search field, but the current implementation does not reload the list when its value changes; use search in the employee selection dialog when adding employees. The Tools panel shows print/copy/export/import controls, but complete implementations of these operations are not present on the details page. Do not rely on them to transfer restrictions between semesters.

Permissions and scopes

Action Module and permission
List, open, create, edit, delete set educator-unavailable-days: unavailable-days.index/show/store/update/destroy
Educator list and individual configuration read educator-unavailable-days-manage: unavailable-educators.index
Add educators and save individual restrictions educator-unavailable-days-manage: unavailable-educators.store
Remove educator from set educator-unavailable-days-manage: unavailable-educators.destroy

The supported scope is department (department), inherited from the parent set for individual records. It is not a faculty or educator scope. Relevant directory permissions are also needed for academic years, departments, employees, week configuration, academic hours and buildings. An operator assigned only to Programming should not manage another department's set. Configure role permissions and verify access from that role.

Troubleshooting

  • Duplicate set: open the existing record with the same academic year, semester and department.
  • Employee absent in the dialog: check the HR record, department and year assignments, directory access and search text.
  • Cannot change department: employees are already assigned. Create a separate set for the other department.
  • No restrictions for an employee: adding the employee is only the first step; configure and save the actual restrictions; check the form requirements for days and buildings.
  • Restrictions not reflected in timetable: check year, semester and individual settings; existing classes are not automatically moved.

Implementation references

Updated Nov 27, 2026