Sets PB status to Active by default
This commit is contained in:
parent
49a4670b64
commit
340ae68eed
|
@ -31,9 +31,7 @@ class StudyModel(db.Model):
|
|||
self.title = pbs.TITLE
|
||||
self.user_uid = pbs.NETBADGEID
|
||||
self.last_updated = pbs.DATE_MODIFIED
|
||||
self.protocol_builder_status = ProtocolBuilderStatus.INCOMPLETE
|
||||
|
||||
if pbs.Q_COMPLETE:
|
||||
self.protocol_builder_status = ProtocolBuilderStatus.ACTIVE
|
||||
if pbs.HSRNUMBER:
|
||||
self.protocol_builder_status = ProtocolBuilderStatus.OPEN
|
||||
|
|
Loading…
Reference in New Issue