From 708585b00ace9643c4700277f9c8ba3507b6e3a6 Mon Sep 17 00:00:00 2001 From: Johnny shultz Date: Fri, 15 Aug 2025 12:22:08 -0400 Subject: [PATCH 1/3] CASH-1407 CASH-1407 first part of 1407 defect. added validation for insurance company page and for payment method page for checkbox with recal vehicle scenario --- src/constants/error-messages.js | 3 +- src/layouts/estimate/estimate.vue | 4 ++ .../insurance-company-question.vue | 4 +- .../insurance-company/insurance-company.vue | 8 +++- src/layouts/payment-method/payment-method.vue | 45 ++++++++++++++++--- src/styles/common-error-styles.scss | 1 + 6 files changed, 55 insertions(+), 10 deletions(-) diff --git a/src/constants/error-messages.js b/src/constants/error-messages.js index 45841f21f..8b8c98881 100644 --- a/src/constants/error-messages.js +++ b/src/constants/error-messages.js @@ -26,7 +26,7 @@ const errorMessages = { VIN_FORMAT: "Invalid VIN. Please make sure that you entered the correct 17-digit, alpha-numeric number. VINs do not contain the letters I, O, or Q", OPTION_REQUIRED: "Please select an option", - RECAL_ACK_REQUIRED: "Please acknowledge recalibration alert", + RECAL_ACK_REQUIRED: "You must agree to the terms to submit", VEHICLE_REQUIRED: "Please select a vehicle", MOBILE_LOCATION_REQUIRED: "Please enter your service address", DATE_REQUIRED: "Please select a date", @@ -37,6 +37,7 @@ const errorMessages = { MODEL_REQUIRED: "Please select your vehicle model", STYLE_REQUIRED: "Please select your vehicle style", PROMO_REQUIRED: "Please enter a promo code", + INSURANCE_COMPANY_REQUIRED: "Please select an insurance company", }; export { errorMessages }; diff --git a/src/layouts/estimate/estimate.vue b/src/layouts/estimate/estimate.vue index ff58adf83..2dbe9f2bc 100644 --- a/src/layouts/estimate/estimate.vue +++ b/src/layouts/estimate/estimate.vue @@ -266,12 +266,16 @@ export default { +