summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYingtong Li <runassudo@yingtongli.me>2020-02-12 01:11:51 +1100
committerYingtong Li <runassudo@yingtongli.me>2020-02-12 01:11:51 +1100
commit1324195a1aa782ee8b342783dae638cf918d93c9 (patch)
tree78f9d0532c2ab984c77d33651ddf8ff786f14843
parente5bbcaabbb69df2d98106f7c0e9980b3eb8f8185 (diff)
Categorise paid claims as closed
-rw-r--r--sstreasury/views.py2
1 files changed, 1 insertions, 1 deletions
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
Contact (issues, pull requests, etc.) at git@yingtongli.me. Generated by cgit.