164 Commits

Author SHA1 Message Date
leigh-mil
46345657c7 Remove unused code from the totals box functionality that has been since removed 2019-09-04 14:50:26 -04:00
leigh-mil
f5ce35187b Make sure form correctly validates after CLIN is removed 2019-09-04 14:50:26 -04:00
leigh-mil
27d3f46cc9 Make remove CLIN button work 2019-09-04 14:09:34 -04:00
leigh-mil
6f1f7f0d3d Use to-form Vue component instead of base-form in TO builder base template 2019-09-04 14:09:34 -04:00
leigh-mil
23b67ede15 Add remove CLIN button 2019-09-04 14:09:34 -04:00
leigh-mil
2742c4951a Update stickybits directive in the base-form 2019-08-30 15:18:29 -04:00
leigh-mil
5b208d9e8d Create TO builder base file and use it to simplify step templates 2019-07-18 10:31:45 -04:00
mk-dds
ba99e04767 fixes #167077646, clin 3 not added to obligated total 2019-07-16 13:57:43 -04:00
George Drummond
9bf06ad5e2
Delete RequiredLabel 2019-06-19 09:48:46 -04:00
dandds
0c58ad07fb Track CLIN type change
- emit a new event when CLIN type changes
- update totals based on new CLIN type
2019-06-17 11:26:58 -04:00
montana
23b7df2153 Keep track of children CLINS to update amount
- emit CLIN amount and type when amount changes
- totals are added correctly based on CLIN type
2019-06-17 11:26:18 -04:00
montana-mil
c775c7322c Add change handler to clin field components
- emit clin type and obligated amount
2019-06-17 11:25:03 -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
5be4efb9d9 Reimplement SaveButton disabled until input change 2019-06-14 11:11:24 -04:00
leigh-mil
1e817c6755 Update copy, add totals box, style buttons 2019-06-12 15:29:47 -04:00
richard-dds
6835f149c3 Formatting 2019-06-12 14:31:44 -04:00
richard-dds
4fdbc5b4cb Only show first error message on application form 2019-06-12 12:28:00 -04:00
leigh-mil
e9c21b0d5e Update vue and template to add multiple LOAs 2019-06-10 19:46:05 -04:00
leigh-mil
f85af06297 Use number instead of array to add new CLIN fields 2019-06-10 14:34:10 -04:00
leigh-mil
46cd8f3762 Fix tests and formatting 2019-06-10 12:36:57 -04:00
leigh-mil
454643c3c9 Post rebase fixes 2019-06-10 12:29:54 -04:00
leigh-mil
e017cd12af Vue for adding multiple CLINs 2019-06-10 12:29:54 -04:00
leigh-mil
cca101b50c Add CLINs to Task Order 2019-06-10 12:29:54 -04:00
dandds
fb430e76e9 Basic frontend uploader component 2019-06-06 13:57:07 -04:00
Montana
67be7d99a4 Replace ko_review template with new task order review
- deletes ko_review vue component
2019-06-03 14:19:04 -04:00
dandds
43ea922218 Simplify environment role updates in app settings.
Use ApplicationRole.id instead of User.id in forms. This eliminates the
need for the function that checks whether a user is in a given
application, because looking up the application role will raise an error
if the user is not.
2019-05-24 13:35:00 -04:00
dandds
815632ed00 Handle setting no access for user environment roles:
- use constant for no access string
- update no access constant
- update language and permissions for rendering remove app member button
2019-05-17 14:00:45 -04:00
montana-mil
1c4725840c
Merge pull request #815 from dod-ccpo/add-new-env-app-settings
Add New Environment via app settings
2019-05-15 11:30:29 -04:00
Montana
ab874a06f8 Use new-environment component to toggle
- Moves the form to the innermost place it can go
2019-05-15 11:20:24 -04:00
George Drummond
b8ea1349b2
Merge pull request #817 from dod-ccpo/delete-user-from-application
Delete an application member
2019-05-14 15:45:32 -04:00
George Drummond
27a4ef12c6
Delete an application member 2019-05-14 11:07:08 -04:00
leigh-mil
4206aa8a59 Use member.role_name in template and JS
change name of data from roles to rolesCategory to make less confusing
2019-05-14 11:00:14 -04:00
leigh-mil
3a2e2aa878 Wip tests 2019-05-14 11:00:14 -04:00
leigh-mil
be178733cf Add note about future refactoring 2019-05-14 10:58:22 -04:00
leigh-mil
319cc17c1c Start vue component for edit-environment-role 2019-05-14 10:58:22 -04:00
dandds
457b1f9523 Detangle the MultiStepModalForm modal-open link from the modal.
In order to place modal forms in other places on the page (so that forms
are not nested) it's necessary to move MultiStepModalForm links out of
the component. They just need to refer to the correct modal.

This PR also makes changes to ensure that the active modal is being
unset everywhere correctly when a modal is closed.
2019-05-08 11:16:56 -04:00
Montana
5692088837 Add Save Button to edit version of team table
-adds base form component
-Save button does not function properly yet
-alphabetizes imports on base-form
2019-05-06 15:15:03 -04:00
dandds
0d5e0a3fa7 back button for new application member modal 2019-04-30 14:43:23 -04:00
dandds
9c84e30172 frontend for adding new application member
- updated styling
- eliminated stray <form> tag in application team template
2019-04-30 14:43:23 -04:00
Montana
97a7d6b205 Remove unused parent_uid references 2019-04-22 10:05:44 -04:00
Montana
cd85ae8e5f use this._uid to check parent 2019-04-22 09:21:33 -04:00
Montana
39975a0a31 Verify that the modal form is only concerned with its own fields 2019-04-19 11:49:41 -04:00
leigh-mil
309d959c79 Move panel footer outside of base-form so the modals will work 2019-04-16 11:22:43 -04:00
leigh-mil
85c99182f7 Refactor modals so they work when nested in other components and fix BaseForm so it doesn't repeat ModalMixin logic 2019-04-08 09:42:35 -04:00
leigh-mil
5aae1691a2 Add modal functionality to BaseForm, use BaseForm and SaveButton in Portfolio members form 2019-04-08 09:42:35 -04:00
leigh-mil
1aaf4421ab Remove unnecessary savebutton vue component and create SaveButton Macro 2019-04-06 16:57:12 -04:00
leigh-mil
8b10732ac9 Use base form and save button on all forms 2019-04-06 16:57:12 -04:00
leigh-mil
637efc5ab5 Update validation on new application form to skip the save button 2019-04-06 16:57:12 -04:00
leigh-mil
7fca19ebee Create base-form vue component 2019-04-06 16:57:12 -04:00
dandds
77ed7d9ab6 prevent premature modal form submission with enter click 2019-03-27 14:07:06 -04:00