Commit Graph

133 Commits

Author SHA1 Message Date
leigh-mil
4e46827335 Remove nesting from route when not needed 2019-06-12 15:30:25 -04:00
dandds
30b93d1c50 Remove unused TO code. 2019-06-12 14:27:36 -04:00
dandds
b63da3ad54 Merge pull request #886 from dod-ccpo/upload-fixes
Upload fixes
2019-06-12 11:21:40 -04:00
Montana
8446a79a9a Sign TO in post route 2019-06-11 12:06:11 -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
Montana
33248daa6b Add route tests 2019-06-11 09:31:08 -04:00
richard-dds
40b599d1d0 Fix rebase conflicts 2019-06-10 15:33:30 -04:00
leigh-mil
36200e01ad Create CLINs when creating a TO 2019-06-10 12:29:54 -04:00
leigh-mil
633e1b6a37 Update TO Form to include CLINs and LOAs 2019-06-10 12:29:54 -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
richard-dds
e6d103a345 Remove a test 2019-06-05 15:37:41 -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
leigh-mil
7bec073f78 Delete things related to deleted columns and table 2019-05-31 13:07:03 -04:00
dandds
c4ad7b4378 Make portfolio invitation specific to portfolio
- add a base domain class
- extract shared model code to mixin
- rename invitation classes
- invitation model relationship to portfolio_role name is now more
  generic "role"
2019-04-30 14:41:55 -04:00
dandds
782a532c32 reorganize task order routes 2019-04-22 07:20:07 -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
dandds
0ea21fbb9b remove access checks from domain methods 2019-03-22 06:30:02 -04:00
dandds
23584da57b changes to increase test branch coverage 2019-03-15 14:41:24 -04:00
dandds
0c2ab6fb7a remove portfolio_role direct relationship to role 2019-03-15 07:14:49 -04:00
leigh-mil
1998bf6600 Merge pull request #695 from dod-ccpo/ko-signature-check
Add check to see if KO can sign the TO and update tests
2019-03-12 09:50:34 -04:00
dandds
f57af648f8 small refactors to new TO workflow classes 2019-03-11 10:12:17 -04: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
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
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
16e3d5d36c Remove duplicate test 2019-03-08 10:54:51 -05:00
Montana
1a19a163c4 Update test 2019-03-08 10:54:51 -05:00
leigh-mil
521d98562b Add check to see if KO can sign the TO and update tests 2019-03-08 10:28:36 -05:00
Montana
8621f2054b Use defense_component property on TO model when appropriate 2019-02-27 09:53:06 -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
430afdd74c Test redirect 2019-02-21 14:38:03 -05:00
George Drummond
13999d7c60 Pass in task_order through test arguments 2019-02-18 09:58:42 -05:00
George Drummond
7d4e14dff2 Display flash message on review page that TO is a draft 2019-02-15 14:28:14 -05:00
George Drummond
9715528f62 Redirect on successful save 2019-02-12 10:08:28 -05:00
George Drummond
8689748d10 Add in basic implementation of the KO TO signature page 2019-02-12 10:06:57 -05:00
dandds
95fa71fc03 only send officer invitations if MO portion of TO form is complete 2019-02-11 15:13:36 -05:00
dandds
a85487a2d1 send officer invitations when MO completes TO form 2019-02-11 15:13:36 -05:00
Montana
9182b1078c Refactor attachment setters and add tests 2019-02-07 11:27:03 -05:00
Patrick Smith
f1683e8ff7 Validate email addresses in oversight form 2019-02-04 13:20:11 -05:00
George Drummond
92d93c5553 Return incomplete not None for review section status 2019-02-01 13:38:28 -05:00
George Drummond
caddfb5ff0 Save as draft without draft button 2019-02-01 13:38:27 -05:00
leigh-mil
f6a04aea62 Change TO form to accept decimals for CLIN input fields 2019-01-29 14:18:35 -05:00
Patrick Smith
c155de0e84 Add tests for downloading csp estimate 2019-01-23 11:16:54 -05:00
Patrick Smith
f580f69d35 Raise error if csp estimate is not of proper type 2019-01-23 11:16:54 -05:00