dandds
4a0dd2d432
remove unused domain methods and arguments
2019-03-22 06:31:20 -04:00
dandds
de7c69bde7
apply access decorator to routes
2019-03-22 06:30:21 -04:00
leigh-mil
458a99ea4b
Merge pull request #702 from dod-ccpo/form-fix-existing-portfolio
...
Persist data in new TO for existing Portfolio
2019-03-15 09:51:04 -04:00
leigh-mil
5f30b347c7
Merge pull request #697 from dod-ccpo/persist-invite-officers
...
Persist Officer invite checkbox on a TO
2019-03-13 17:00:12 -04:00
leigh-mil
38a1dd1b6d
Move initializing the form to inside the if statement so it doesn't get overwritten
2019-03-13 16:41:42 -04:00
leigh-mil
ed08bdfd52
Check if officer has been invited to the TO
2019-03-11 16:09:03 -04:00
leigh-mil
1b642e22f6
Add in default values and filters to the TO Forms
2019-03-11 15:18:52 -04:00
dandds
f57af648f8
small refactors to new TO workflow classes
2019-03-11 10:12:17 -04:00
Montana
1b329b9659
Move form logic into ShowTaskOrderPortfolio class
2019-03-08 10:54:52 -05:00
Montana
24886fc482
Add portfolio to ShowTaskOrderWorkflow class
2019-03-08 10:54:52 -05:00
Montana
aa206192be
Delete unused branch of logic in pr_attributes_read_oly()
2019-03-08 10:54:52 -05:00
Montana
1dbdb35e32
Fix redundant task order lookup
2019-03-08 10:54:52 -05:00
Montana
970eb8aba3
Make portfolio_id an init kwarg on ShowTaskOrderWorkflow class
2019-03-08 10:54:52 -05:00
Montana
acf70d1144
Rename method
2019-03-08 10:54:51 -05:00
Montana
7fb9a7572c
Preserve data on back navigation
2019-03-08 10:54:51 -05:00
Montana
93545d2dc9
Use new form
2019-03-08 10:54:51 -05:00
Montana
be192081bc
Add two workflow methods
2019-03-08 10:54:51 -05:00
Montana
85fcee005e
Do not require portfolio name and defense component when building a new TO from a portfolio
2019-03-08 10:54:51 -05:00
Montana
e8a7131948
Send portfolio to template instead of using query param
2019-03-08 10:54:51 -05:00
Montana
68a1ffde8b
Portfolio Name and Defense Component read only on TOs that are started from existing portfolios
2019-03-08 10:54:51 -05:00
Montana
7ee8858cc7
Add defense_component to Portfolio when new task_order is created without an existing portfolio
2019-02-26 11:29:16 -05:00
Montana
772ca75688
Refactor form action for new task order templates
2019-02-21 14:38:03 -05:00
Montana
12706c3d45
Refactor task order route to check for request args instead of request.referrer
2019-02-21 14:38:03 -05:00
Montana
6628a1441e
Refactor redirect to make more readable
2019-02-21 14:38:03 -05:00
Montana
4ef8df016d
Redirect user back to KO Review page if that is where they came from
2019-02-21 14:38:03 -05:00
George Drummond
7d4e14dff2
Display flash message on review page that TO is a draft
2019-02-15 14:28:14 -05:00
dandds
a85487a2d1
send officer invitations when MO completes TO form
2019-02-11 15:13:36 -05:00
leigh-mil
b27e3cb726
Merge pull request #594 from dod-ccpo/pdf-persistence
...
Pass existing task order to the Form
2019-02-04 11:44:42 -05:00
George Drummond
caddfb5ff0
Save as draft without draft button
2019-02-01 13:38:27 -05:00
leigh-mil
c302ddf2d7
Pass existing task order to the Form
...
Passing the existing task order to the Form provides all of the existing
data to the Form. Previously, if a csp
estimate was already uploaded and then the funding page was edited
without changing the upload, the csp estimate was overwritten because
nothing was passed in that field to the form.
2019-02-01 13:15:51 -05:00
leigh-mil
090fd167bb
Fix UpdateTaskOrderWorkflow to validate using the correct form when unclassified
2019-01-29 14:19:04 -05:00
montana-mil
859df01b80
Merge pull request #573 from dod-ccpo/i-am-cor
...
Show COR as invited if am_cor is checked
2019-01-24 09:19:15 -05:00
Montana
ad0aae55e3
No need to pass current user to review page template
2019-01-24 09:01:48 -05:00
Montana
ba1310f92b
Show COR as invited if am_cor is checked
2019-01-23 15:37:28 -05:00
Patrick Smith
ebf063f245
Handle uploaded file in task order route
2019-01-23 11:16:05 -05:00
leigh-mil
37f8f41be9
Merge pull request #561 from dod-ccpo/to-form-fixes
...
TO Form fixes
2019-01-23 11:03:45 -05:00
Montana
6d4570e671
Use TaskOrders domain to determine if form is complete
2019-01-22 15:04:14 -05:00
leigh-mil
569576fce5
Styling and text fixes
2019-01-22 14:38:54 -05:00
Montana
707bb5be22
Disable Done button on Review screen if TO is not completed
2019-01-22 14:32:37 -05:00
Montana
62a3d89484
Minor logic and naming fixes
2019-01-21 10:25:31 -05:00
Montana
9eca3c6acc
Persist checkbox value after navigating away from oversight screen
2019-01-18 15:40:20 -05:00
montana-mil
d0857a4a74
Merge pull request #546 from dod-ccpo/am-cor-checkbox
...
am COR checkbox
2019-01-17 11:39:06 -05:00
Montana
af7ef1c245
Add a docstring to new validator
2019-01-17 10:32:22 -05:00
George Drummond
0bb1f1a7f5
Fix TO form unchecking steps after validation fails
2019-01-17 10:27:54 -05:00
Montana
47c61655aa
Make sure am_cor is checked when you return to the page after saving
2019-01-16 11:48:39 -05:00
Montana
5d4fee9546
Save TO creator data as cor data if am_cor is checked
2019-01-16 10:11:44 -05:00
Montana
dc01a68c29
fix test, minor python tweaks
2019-01-16 10:11:44 -05:00
Montana
805db30023
Allow user to rename task order and do no push othertext to DB
2019-01-16 10:11:44 -05:00
Montana
8463599d7b
Allow users to update TO information after it has been saved in the DB
2019-01-16 10:11:44 -05:00
Patrick Smith
1cc4c23588
Allow creating a task order for an existing portfolio
2019-01-16 08:14:18 -05:00