From 1324195a1aa782ee8b342783dae638cf918d93c9 Mon Sep 17 00:00:00 2001 From: Yingtong Li Date: Wed, 12 Feb 2020 01:11:51 +1100 Subject: [PATCH] Categorise paid claims as closed --- sstreasury/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sstreasury/views.py b/sstreasury/views.py index 44777e9..bc55abc 100644 --- a/sstreasury/views.py +++ b/sstreasury/views.py @@ -390,7 +390,7 @@ def claim_list(request): else: group = claims_closed elif request.user.groups.filter(name='Treasury').exists(): - if state == models.ClaimState.APPROVED: + if state == models.ClaimState.PAID: group = claims_closed else: group = claims_open