119 Commits

Author SHA1 Message Date
richard-dds
43ed257f10 Future proof edit route 2019-07-30 14:07:04 -04:00
richard-dds
136b97b23f Use new edit route 2019-07-30 14:06:40 -04:00
richard-dds
ce6b526da1 Add task order /edit route 2019-07-30 13:54:47 -04:00
leigh-mil
e3dfd18c7f Raise error if TO review or signature page are accessed when the TO is incomplete 2019-07-18 13:33:37 -04:00
leigh-mil
aa25f671e3 Update message for perms decorator to reflect what user is trying to access 2019-07-18 10:31:45 -04:00
leigh-mil
dc3f9a8c1c Update route to include form so it is clear what step refers to
Move submit route into the same file and the other form steps
2019-07-18 10:31:45 -04:00
leigh-mil
4826e8002b Rename route functions to be clearer 2019-07-18 10:31:45 -04:00
leigh-mil
e3c6b08d34 Remove old task order edit and update routes 2019-07-18 10:31:45 -04:00
leigh-mil
b9e14f8719 Add route and template for signature confirmation 2019-07-18 10:31:45 -04:00
leigh-mil
68e0d261f6 Add review route and template 2019-07-18 10:31:45 -04:00
leigh-mil
b2db53096f Rename routes 2019-07-18 10:31:45 -04:00
leigh-mil
7ebe84a9cb Add step 3 route and template 2019-07-18 10:31:45 -04:00
leigh-mil
6ab3e24883 Add second step 2019-07-18 10:31:45 -04:00
leigh-mil
45390835ed Add routes for first step of TO builder 2019-07-18 10:31:45 -04:00
dandds
0fbc2ea270 Redirect user to TO edit page when they save incomplete state. 2019-06-19 12:10:48 -04:00
dandds
a91d438d1c
Merge pull request #942 from dod-ccpo/to-form-fixes
TO Form fixes
2019-06-18 14:41:54 -04:00
George Drummond
d672f5792c
Save as draft 2019-06-18 14:11:55 -04:00
leigh-mil
c91ad961a2 Cancel button always goes to portfolio funding page 2019-06-18 13:39:18 -04:00
dandds
c4d8067f45 Fixes a bug where the CLIN type was not displaying correctly for saved
TOs.

The enum for the CLIN type needs to be coerced in the form data so that
the `jedi_clin_field` data is the value of the enum option. Perviously
the `jedi_clin_field` was being populated with a stringified
representation of the enum, like `JEDICLINType.JEDI_CLIN_1`.
2019-06-18 11:33:41 -04:00
leigh-mil
26d468dfb0 Remove duplicate form error flash message 2019-06-17 13:32:29 -04:00
Montana
4074f11e25 New TotalsBox vue component
- update to_form data when CLIN amounts change
2019-06-17 10:42:30 -04:00
leigh-mil
b07cf0e4fc formatting 2019-06-12 15:30:25 -04:00
leigh-mil
db58c64a89 Move submit buttons inside form and add formaction to review button 2019-06-12 15:30:25 -04:00
leigh-mil
4e46827335 Remove nesting from route when not needed 2019-06-12 15:30:25 -04:00
dandds
0e89a55c07 Display and overwrite task order uploads correctly.
- Populate the POSTed form with additional data from the existing TO
  model. This way the pdf attachment has to be explicitly overwritten.
- Adjust the frontend so that if there is an existing PDF, it only sends
  a file input back if the user removes the existing PDF.
2019-06-11 09:58:32 -04:00
leigh-mil
46cd8f3762 Fix tests and formatting 2019-06-10 12:36:57 -04:00
leigh-mil
633e1b6a37 Update TO Form to include CLINs and LOAs 2019-06-10 12:29:54 -04:00
dandds
159360692f Improve task order upload validation handling.
- Display validation errors.
- Rerender validated form data correctly.
- Clear error state correctly.
2019-06-06 13:57:07 -04:00
dandds
b0f47bc3ff Backend handling for task order upload
- Move task_orders.edit rendering to function
- Construct task_orders.update form route correctly in template
2019-06-06 13:57:07 -04:00
leigh-mil
b97ae02a93 Combine similar routes and templates, delete unused TO form templates 2019-06-05 12:58:33 -04:00
leigh-mil
0a2d241dc4 Add validator to TO number input and add cancel button to form 2019-06-05 12:58:33 -04:00
leigh-mil
e7771f789b Start TO form template 2019-06-05 12:58:33 -04:00
leigh-mil
91e41199b7 Update TO form based on new model 2019-06-05 12:58:33 -04:00
George Drummond
f7562714cb
Add New Portfolio Workflow 2019-06-04 13:10:42 -04:00
dandds
782a532c32 reorganize task order routes 2019-04-22 07:20:07 -04:00
rachel-dtr
193d5c2a43 Updating language throughout TO process 2019-04-18 11:31:33 -04:00
dandds
c1df245800 Scope access to applications, task orders, and environment roles.
These resources should be scoped to the portfolio when accessed from
route functions.
2019-04-16 14:18:53 -04:00
dandds
29ec4a80af give access decorator override function a clearer name; exception -> override 2019-03-28 09:32:51 -04:00
dandds
746a5834c1 only pass one func to exception kwarg in access decorator 2019-03-22 06:33:01 -04:00
dandds
e07640db57 add messages to all route access decorators 2019-03-22 06:33:01 -04:00
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