Allow Treasurer to edit claim
This commit is contained in:
parent
95bc4c3f2a
commit
83ef0c5154
@ -293,7 +293,7 @@ class ReimbursementClaim(models.Model):
|
||||
return False
|
||||
if not user.groups.filter(name='Treasury').exists():
|
||||
return False
|
||||
if self.state == ClaimState.AWAIT_REVIEW.value:
|
||||
if self.state != ClaimState.PAID.value:
|
||||
return True
|
||||
return False
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user