trial switching to generic night site

This commit is contained in:
Ross
2021-09-06 12:25:18 +01:00
parent 161d37cd87
commit bd3b9b9afc
3 changed files with 918 additions and 563 deletions
+2 -1
View File
@@ -63,6 +63,7 @@ Rota.constraint_options["prevent_thursdays_before_full_weekends"] = [
"exeter",
"truro no proc",
]
Rota.constraint_options["require_presence_at_site_overnight"] = ["plymouth"]
Rota.add_shifts(
SingleShift(
@@ -327,7 +328,7 @@ else:
oop,
not_available_to_work=leave_requests,
work_requests=work_requests,
proc_site=site_pref,
night_site=site_pref,
previous_shifts=previous_shifts,
pair=pair,
)