35 Commits

Author SHA1 Message Date
graham-dds
c02bb8518e Escape html chanacters, if any, in CLIN number 2020-01-08 11:10:59 -05:00
leigh-mil
a6a908ae55 Remove other events emitted from root 2019-11-19 14:49:11 -05:00
leigh-mil
04b9250ea1 Create emitter function for field-change event 2019-11-19 14:49:11 -05:00
leigh-mil
c94570f83e Update TO form and nested components to emit directly to parent components instead of emitting from the root component 2019-11-14 16:46:35 -05:00
leigh-mil
eef15f311f Remove logic for validating PoP date range out of clin-fields vue component 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
leigh-mil
61a3affd11 Add if statement for when percentage is over 100 2019-09-20 13:13:15 -04:00
graham-dds
5d3aa41431 Pull out unecessary events from clin_fields 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
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
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
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
graham-dds
38ba8b7e5f LOAs are so out of this codebase 2019-08-30 09:57:23 -05:00
leigh-mil
f3de41cc06 Fix issue where error message was showing up before both dates were
filled in

- only set startDate and endDate in data if there is are initial dates
- only update popValid and showPopError if both dates are present
2019-08-02 15:19:50 -04:00
leigh-mil
2d20d27d01 Add POP as field on the form vue component so whether or not it is valid can be tracked to toggle the save button 2019-08-02 14:54:44 -04:00
leigh-mil
5a664c5a83 Default showPopError to false when there are no initial PoP dates 2019-08-02 14:20:32 -04:00
leigh-mil
e1fbac5a52 Add front end validation that enforces that PoP end is after start 2019-08-01 16:53:32 -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
leigh-mil
e9c21b0d5e Update vue and template to add multiple LOAs 2019-06-10 19:46:05 -04:00
leigh-mil
46cd8f3762 Fix tests and formatting 2019-06-10 12:36:57 -04:00
leigh-mil
61d7bc92d8 Update new CLIN fields so they post data properly 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