Skip to content

Commit

Permalink
Add 'cancelled' filter to OfficeLeaveFilter
Browse files Browse the repository at this point in the history
  • Loading branch information
Tubo committed Jan 17, 2024
1 parent 2c8cf5b commit 107f47a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions radscheduler/core/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ def queryset(self, request, queryset):
date__gte=date.today(),
dot_approved=True,
reg_approved=True,
cancelled=False,
printed=False,
)
.exclude(date__iso_week_day__in=[ISOWeekday.SAT, ISOWeekday.SUN])
Expand Down

0 comments on commit 107f47a

Please sign in to comment.