551 Commits

Author SHA1 Message Date
leigh-mil
843501c00a Fix bug where name attribute of start date fields was not properly assigned
Fix bug in pop_date_range were startValid and endValid were not being properly updated
2019-09-26 16:22:02 -04:00
leigh-mil
d52abeb0a9 Only update the min and max values for other field when the field that was updated is valid -- This prevents both fields from becoming invalid when the dates are not in chronological order. 2019-09-26 16:22:02 -04:00
leigh-mil
d42cd1ff4f Dynamically update the max and min values for start and end date based on the date in the other field and contract dates 2019-09-26 16:22:02 -04:00
leigh-mil
0e641a9064 Create vue component to manage date range logic 2019-09-26 16:21:27 -04:00
dandds
ae57baf455
Merge pull request #1094 from dod-ccpo/test-changes
updates to script/test and JS coverage
2019-09-26 15:44:14 -04:00
dandds
dcf10e596f Delete some additional unused Vue components. 2019-09-26 05:48:14 -04:00
dandds
8d7c7a0d6e Render Vue component templates as part of test script.
Add a command to the test script to output up-to-date Vue component
templates. Most of the Vue component tests rely on HTML templates built
from Jinja.
2019-09-25 11:32:10 -04:00
dandds
6dc1e10e77 Delete unused Vue components and remove references to them. 2019-09-25 06:14:12 -04:00
graham-dds
7e340936dc
Merge pull request #1088 from dod-ccpo/make-application-creation-multistep
Make application creation multistep
2019-09-24 13:56:36 -04:00
graham-dds
1a11182eef Break new-application JS component into form steps 2019-09-24 10:16:48 -04:00
dandds
7ea1ae5a34 Add a JS test for the clin-fields Vue component.
In order to do this, it was expedient to move the CLINFields Jinja macro
into its own file and pass in all the data it requires.
2019-09-24 09:37:30 -04:00
dandds
46f8e07729
Merge pull request #1087 from dod-ccpo/to-step3-testing
Initial JS tests for the Vue TOForm component.
2019-09-23 10:32:23 -04:00
dandds
112f0e0ab2 Initial JS tests for the Vue TOForm component.
This adds BeautifulSoup to the Python dev dependencies so that we can
render an entire page and then extract the Vue component we need.
Ideally, we should refactor all the Vue components so that they live in
Jinja macros and we can render those macros directly.
2019-09-20 15:24:55 -04:00
leigh-mil
61a3affd11 Add if statement for when percentage is over 100 2019-09-20 13:13:15 -04:00
leigh-mil
6de02e874b Update edit app member form so the save button becomes active on change 2019-09-18 11:16:55 -04:00
graham-dds
5d3aa41431 Pull out unecessary events from clin_fields 2019-09-12 16:11:12 -04:00
graham-dds
8b0d9fb9d2 Create text input mixin 2019-09-12 16:11:12 -04:00
graham-dds
6224026d72 Custom component for handling clin dollar input
- Macro for CLIN dollar input HTML.
- Custom Vue component to react to
 "fundingValid" validaiton
2019-09-12 16:11:12 -04:00
graham-dds
cdbbc9f785 Add funding validation to clinfields vue component 2019-09-12 16:11:12 -04:00
graham-dds
bf19add617 Add funding validation to clinfields vue component 2019-09-12 16:11:12 -04:00
graham-dds
257fe648a8 Add input validation for CLIN dollars
But the validation message includes the valid number range
2019-09-12 16:11:12 -04:00
graham-dds
73a4b669ac class methods for oblig. and contract amount total 2019-09-12 16:11:12 -04:00
leigh-mil
ca39d7107d Remove unused nestedcheckbox vue component 2019-09-10 13:16:16 -04:00
leigh-mil
3683c79ae0 Use template args for the contract start and end date
pointing to base.ini in the JS file resulted in the raw string content of base.ini to be in the JS bundle
2019-09-09 14:23:38 -04:00
leigh-mil
6dea274c0a Put showClin back into data -- removing it messed up the removeClin function 2019-09-09 14:21:20 -04:00
leigh-mil
d802a53db6 Only show contract date validation messages if the date has been completely filled in 2019-09-06 10:12:35 -04:00
leigh-mil
2cefe93136 Use date-fns instead of moment 2019-09-06 10:12:35 -04:00
leigh-mil
2efd2c968d Use translations and make errors look pretty 2019-09-06 10:12:35 -04:00
leigh-mil
e4ca027065 Validate CLIN PoP against configurable contract start and end dates 2019-09-06 10:12:34 -04:00
leigh-mil
20871e787f Remove code related to Totals box from CLIN fields vue component 2019-09-05 10:19:12 -04:00
leigh-mil
eb58612182 Add remove CLIN confirmation modal 2019-09-04 16:59:51 -04:00
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
1cbefb099b
Merge pull request #1055 from dod-ccpo/clin-card-styling
TO Form Step 3/CLIN page styling
2019-09-04 11:36:51 -04:00
leigh-mil
08b4513797 Remove conditional before assigning clinNumber because an empty string was returning false 2019-09-04 11:04:05 -04:00
leigh-mil
2b98995488 Styling for CLIN Details section
add in validation styling for inputs
use solid checkmark as ok validation across site
2019-09-03 13:25:53 -04:00
richard-dds
003b562a93
Merge pull request #1052 from dod-ccpo/fix-large-upload-regression
Disable attachmentInput when file is attached (with tests this time)
2019-09-03 09:57:37 -04:00
leigh-mil
104a1d189c
Merge pull request #1053 from dod-ccpo/fix-sidebar
Stickybits!
2019-08-30 18:15:57 -04:00
richard-dds
f05d6908ef Mock out getDownloadLink 2019-08-30 16:18:31 -04:00
richard-dds
83ca303e1f Disable attachmentInput when file is attached (with tests this time) 2019-08-30 16:13:59 -04:00
richard-dds
c5284fd8f9
Merge pull request #1005 from dod-ccpo/cloud-pdf-downloads
Cloud pdf downloads
2019-08-30 16:11:27 -04:00
leigh-mil
2742c4951a Update stickybits directive in the base-form 2019-08-30 15:18:29 -04:00
graham-dds
a512a47a48
Merge pull request #1051 from dod-ccpo/remove-loas
Remove LOAs
2019-08-30 11:52:52 -04:00
graham-dds
38ba8b7e5f LOAs are so out of this codebase 2019-08-30 09:57:23 -05:00
leigh-mil
5d8280b84d
Merge pull request #1039 from dod-ccpo/user-profile-validation
User profile validation
2019-08-30 09:40:28 -04:00
leigh-mil
6669608038 Make topbar sticky and set sticky cta header so it sticks below topbar 2019-08-29 17:03:55 -04:00
richard-dds
518376a1d6 Simplify hasInitialData 2019-08-29 16:08:55 -04:00