Make sure am_cor is checked when you return to the page after saving
This commit is contained in:
parent
ae494d3bb5
commit
47c61655aa
@ -78,6 +78,10 @@ class ShowTaskOrderWorkflow:
|
|||||||
if self._section["section"] == "app_info":
|
if self._section["section"] == "app_info":
|
||||||
self._form.complexity.data = self.task_order.complexity
|
self._form.complexity.data = self.task_order.complexity
|
||||||
self._form.dev_team.data = self.task_order.dev_team
|
self._form.dev_team.data = self.task_order.dev_team
|
||||||
|
elif self._section["section"] == "oversight":
|
||||||
|
if self.user.dod_id == self.task_order.cor_dod_id:
|
||||||
|
self._form.am_cor.data = True
|
||||||
|
|
||||||
else:
|
else:
|
||||||
self._form = self._section[form_type]()
|
self._form = self._section[form_type]()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user