Modify Vacation Days
Note
Configuration can be managed in two ways:
- Preferred: via the browser-based StaffSchedulingWeb interface.
- Advanced/manual: by editing the JSON files in the case folder directly.
For month-based cases, files are usually located in cases/{case_id}/{MM_YYYY}/... (for example cases/77/11_2024/...).
Vacation Days¶
Vacation days are an essential aspect of employee management, allowing organizations to track and manage time off effectively. In our application, vacation days are primarily set in TimeOffice.
In the full version of our application, vacation days are documented alongside forbidden days in free_shifts_and_vacation_days.json in the active case folder, typically:
cases/{case_id}/{MM_YYYY}/free_shifts_and_vacation_days.jsonfor month-based casescases/{case_id}/free_shifts_and_vacation_days.jsonfor non-month cases
This file is automatically generated and includes entries for each employee with information about their scheduled time off.
The JSON structure for an employee's vacation days appears as follows:
{
"firstname": "Sandra",
"forbidden_days": [
18,
22,
23,
24,
25
],
"key": 459,
"name": "Shoemake",
"planned_shifts": [],
"vacation_days": [
2,
3,
4,
5,
6,
7,
8,
9,
10,
12
]
},
In this example, the vacation_days array lists the specific dates on which the employee is scheduled to be on leave. Users can easily modify this list by locating the relevant entry for each employee within the JSON file and adjusting the vacation_days array accordingly.