Skip to content

Commit

Permalink
Merge pull request #372 from bcgov/ofmcc-6125-application-eligibility…
Browse files Browse the repository at this point in the history
…-update

ofmcc-6125 - update Application Eligbility insurance question
  • Loading branch information
vietle-cgi authored Sep 25, 2024
2 parents e023462 + 1c7dbef commit f5cdf9d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
<div>{{ format.formatBooleanToYesNo(currentApplication?.providePreviousFYFinancialStatements) }}</div>
</div>
<div>
<AppLabel>Does your facility have liability insurance coverage for a minimum of $2,000,000?</AppLabel>
<AppLabel>Does your facility have liability insurance coverage for a minimum of $5,000,000?</AppLabel>
<div>{{ format.formatBooleanToYesNo(currentApplication?.liabilityInsuranceCoverage) }}</div>
</div>
<div>
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/utils/rules.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const rules = {
],
notNullRequired: [(v) => v != null || REQUIRED_MSG], // value must be not null and not undefined
postalCode: [(v) => !v || /^[ABCEGHJ-NPRSTVXY]\d[ABCEGHJ-NPRSTV-Z][ -]?\d[ABCEGHJ-NPRSTV-Z]\d$/i.test(v) || 'A valid postal code is required'],
MMDDYYYY: (v) => (!!v && !isNaN(new Date(v))) || 'Date must be in MM/DD/YYYY format',
MMDDYYYY: (v) => (!!v && !isNaN(new Date(v))) || 'Invalid date format',
validEndDate(startDate) {
return (v) => new Date(v) > new Date(startDate) || 'End date must be after start date'
},
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/views/applications/EligibilityView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
@update:model-value="validateResponse(model.providePreviousFYFinancialStatements)" />
</div>
<div>
<div>Does your facility have liability insurance coverage for a minimum of $2,000,000?</div>
<div>Does your facility have liability insurance coverage for a minimum of $5,000,000?</div>
<AppYesNoRadioGroup
id="liability-insurance-coverage"
v-model="model.liabilityInsuranceCoverage"
Expand Down

0 comments on commit f5cdf9d

Please sign in to comment.