List closed budgets for committee members

This commit is contained in:
Yingtong Li 2020-02-16 21:15:05 +11:00
parent ecfa4bdc2b
commit 28eb72ef81
Signed by: RunasSudo
GPG Key ID: 7234E476BF21C61A

View File

@ -222,7 +222,7 @@ def budget_list(request):
group = budgets_open
else:
group = budgets_closed
elif request.user.groups.filter(name='Treasury').exists() or request.user.groups.filter(name='Secretary').exists():
elif request.user.groups.filter(name='Treasury').exists() or request.user.groups.filter(name='Secretary').exists() or request.user.groups.filter(name='Committee').exists():
if state == models.BudgetState.APPROVED:
group = budgets_closed
else: