|
|
@ -65,7 +65,7 @@ def terminal(request):
|
|
|
|
help_wanted = Q(required_helpers__gt=F("reg_count")) | Q(required_helpers=0) & Q(
|
|
|
|
help_wanted = Q(required_helpers__gt=F("reg_count")) | Q(required_helpers=0) & Q(
|
|
|
|
room__required_helpers__gt=F("reg_count")
|
|
|
|
room__required_helpers__gt=F("reg_count")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
day = (timezone.now()-timedelta(hours=6))
|
|
|
|
day = timezone.now() - timedelta(hours=6)
|
|
|
|
day = datetime.combine(day, time.min)
|
|
|
|
day = datetime.combine(day, time.min)
|
|
|
|
shifts = (
|
|
|
|
shifts = (
|
|
|
|
Shift.with_reg_count()
|
|
|
|
Shift.with_reg_count()
|
|
|
|