mirror of
https://github.com/sartography/protocol-builder-mock.git
synced 2025-01-12 00:34:44 +00:00
We now add 2 documents for doc code 39.
This commit is contained in:
parent
e64ad057eb
commit
242668b244
@ -91,6 +91,9 @@ def _update_study(study, form):
|
||||
if r.checked:
|
||||
requirement = RequiredDocument(AUXDOCID=r.data, AUXDOC=r.label.text, study=study)
|
||||
db.session.add(requirement)
|
||||
if r.data == 39:
|
||||
requirement_2 = RequiredDocument(AUXDOCID=39, AUXDOC='Consent-Age of Majority Cover Letter', study=study)
|
||||
db.session.add(requirement_2)
|
||||
|
||||
q_data = eval(form.Q_COMPLETE.data)
|
||||
if q_data:
|
||||
|
Loading…
x
Reference in New Issue
Block a user