feat: questionnaire only modifiable before submission
This commit is contained in:
parent
2b923becf0
commit
37a3972d04
2 changed files with 10 additions and 1 deletions
|
|
@ -31,7 +31,11 @@ class Status(StrEnum):
|
|||
|
||||
@property
|
||||
def is_pre_approval(self):
|
||||
return self in (self.PARTIAL, self.SUBMITTED)
|
||||
return self in (self.PARTIAL, self.SUBMITTED, self.REMEDIATION)
|
||||
|
||||
@property
|
||||
def is_pre_submission(self):
|
||||
return self in (self.PARTIAL, self.REMEDIATION)
|
||||
|
||||
|
||||
class ContactType(StrEnum):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue