Categorise paid claims as closed

This commit is contained in:
Yingtong Li 2020-02-12 01:11:51 +11:00
parent e5bbcaabbb
commit 1324195a1a
Signed by: RunasSudo
GPG Key ID: 7234E476BF21C61A

View File

@ -390,7 +390,7 @@ def claim_list(request):
else: else:
group = claims_closed group = claims_closed
elif request.user.groups.filter(name='Treasury').exists(): elif request.user.groups.filter(name='Treasury').exists():
if state == models.ClaimState.APPROVED: if state == models.ClaimState.PAID:
group = claims_closed group = claims_closed
else: else:
group = claims_open group = claims_open