many improvements
This commit is contained in:
+3
-12
@@ -41,18 +41,12 @@ rota_collections["current"].add_shifts(
|
||||
SingleShift(("truro",), "weekend_truro", 12.5, days[5:], assign_as_block=True),
|
||||
SingleShift(("torquay",), "weekend_torquay", 12.5, days[5:], assign_as_block=True),
|
||||
SingleShift(
|
||||
("plymouth",),
|
||||
"weekend_plymouth",
|
||||
8,
|
||||
days[5:],
|
||||
sites=("plymouth",), name="weekend_plymouth", length= 8, days=days[5:],
|
||||
workers_required=2,
|
||||
assign_as_block=True,
|
||||
),
|
||||
SingleShift(
|
||||
(sites),
|
||||
"night_weekday",
|
||||
12.25,
|
||||
days[:4],
|
||||
sites=(sites), name="night_weekday", length= 12.25, days=days[:4],
|
||||
balance_offset=5,
|
||||
balance_weighting=1,
|
||||
workers_required=3,
|
||||
@@ -61,10 +55,7 @@ rota_collections["current"].add_shifts(
|
||||
constraints=["night"],
|
||||
),
|
||||
SingleShift(
|
||||
(sites),
|
||||
"night_weekend",
|
||||
12.25,
|
||||
days[4:],
|
||||
sites=(sites), name="night_weekend", length= 12.25, days=days[4:],
|
||||
balance_offset=4,
|
||||
balance_weighting=1,
|
||||
workers_required=3,
|
||||
|
||||
Reference in New Issue
Block a user