Add support for avoiding shifts on specific dates for workers
- Introduced AvoidShiftOnDates model to define constraints for workers. - Enhanced Worker class to register avoid-shift rules with the rota builder. - Implemented logic in RotaBuilder to enforce these constraints during shift assignment. - Added tests to verify functionality for avoiding shifts on single dates and date ranges.
This commit is contained in:
@@ -1 +1 @@
|
||||
/home/ross/proc-rota/output/timetable.css
|
||||
/home/ross/proc_rota/output/timetable.css
|
||||
@@ -1 +1 @@
|
||||
/home/ross/proc-rota/output/timetable.js
|
||||
/home/ross/proc_rota/output/timetable.js
|
||||
Reference in New Issue
Block a user