List closed budgets for committee members
This commit is contained in:
parent
ecfa4bdc2b
commit
28eb72ef81
@ -222,7 +222,7 @@ def budget_list(request):
|
|||||||
group = budgets_open
|
group = budgets_open
|
||||||
else:
|
else:
|
||||||
group = budgets_closed
|
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:
|
if state == models.BudgetState.APPROVED:
|
||||||
group = budgets_closed
|
group = budgets_closed
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user