Commit Graph

2343 Commits

Author SHA1 Message Date
leigh-mil
74d4974437 Clean up code from old version of TO builder 2019-07-18 13:33:37 -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
3401713898 Only delete and add CLINs to a TO when they are passed in the form data 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
leigh-mil
9278a251cc Use translations in edit TO form and update PDF upload size limit 2019-06-20 10:50:23 -04:00
dandds
9945f774e6 Do not use test functions in production code 2019-06-19 15:08:53 -04:00
dandds
f46d1f80af Merge pull request #948 from dod-ccpo/non-unique-to
Do not enforce TO number uniqueness.
2019-06-19 13:19:21 -04:00
dandds
f793973da4 Do not enforce TO number uniqueness.
We don't know for a fact that TO number uniqueness is a requirement at
the database level. For now, remove the unique constraint so that users
can enter redundant TOs.
2019-06-19 13:03:41 -04:00
dandds
0fbc2ea270 Redirect user to TO edit page when they save incomplete state. 2019-06-19 12:10:48 -04:00
dandds
c60baf0709 Merge pull request #944 from dod-ccpo/app-settings-bug
Some environments might not have associated users.
2019-06-19 11:25:11 -04:00
dandds
94d8680361 Do not return deactivated portfolios in Portfolios.for_user 2019-06-19 10:39:42 -04:00
dandds
3c5df7b1aa Some environments might not have associated users.
There was a bug in the application settings route that threw an error if
an environment role and its associated application role did not have an
associated user. Updated to check for the user name on the application role.
2019-06-19 10:12:01 -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
1aab857a1e set value of checkbox to false when modal closes 2019-06-17 18:31:39 -04:00
dandds
14fd294b9c Merge pull request #935 from dod-ccpo/fix-activity-log-pagination
Fix audit log pagination urls
2019-06-17 17:24:33 -04:00
richard-dds
747978f92b Fix pagination urls 2019-06-17 14:44:56 -04:00
George Drummond
9b521765c7 Merge pull request #933 from dod-ccpo/remove-unused-validation
Remove unused validation
2019-06-17 14:09:31 -04:00
George Drummond
05ed1c6d68 Remove unused validation 2019-06-17 13:33:47 -04:00
leigh-mil
26d468dfb0 Remove duplicate form error flash message 2019-06-17 13:32:29 -04:00
leigh-mil
a94bc3c14f remove duplicate logged out 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
52be812292 Merge pull request #906 from dod-ccpo/style-to-form-2
Style to form 2
2019-06-17 09:42:10 -04:00
George Drummond
0f329b2699 Remove findFilter 2019-06-14 13:00:31 -04:00
leigh-mil
cd0433d85b Reduce space around input fields and add file size info to file upload 2019-06-14 11:11:24 -04:00
George Drummond
9f274a7d1c Script to find unused translations 2019-06-14 09:59:07 -04:00
George Drummond
4d7ad667b7 Remove Portfolios.can_revoke_access_for 2019-06-13 15:49:36 -04:00
George Drummond
490907257b Remove Portfolios.revoke_access 2019-06-13 15:48:39 -04:00
George Drummond
6b09f80336 Remove TaskOrderError 2019-06-13 15:38:38 -04:00
George Drummond
24355b0737 Remove unused PortfolioRoles methods 2019-06-13 15:31:48 -04:00
George Drummond
37a1ab14b0 Remove Environments.add_member 2019-06-13 15:20:21 -04:00
George Drummond
36f9075451 Remove Applications.get_all 2019-06-13 15:10:33 -04:00
George Drummond
1821e164b0 Merge pull request #908 from dod-ccpo/clean-up-flash-messages
Delete unused flash messages
2019-06-13 10:34:53 -04:00
George Drummond
3740291662 Delete unused flash messages 2019-06-13 10:11:29 -04:00
dandds
4ba983cbdd Remove unused template filters 2019-06-13 09:51:00 -04:00
dandds
febc6f7890 Remove unused form code 2019-06-13 09:10:52 -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