diff --git a/src/constants/insurance.js b/src/constants/insurance.js index f7550513b..b23e1fddd 100644 --- a/src/constants/insurance.js +++ b/src/constants/insurance.js @@ -78,3 +78,7 @@ export function coverageTypeEnum(strCoverageType) { return null; } } + +export const NON_MANAGED_SHOW_CLAIM_NUMBER_PARENTS = [ + { name: "KentuckyFarmBureau", value: "223499" }, +]; diff --git a/src/layouts/insurance-details/insurance-details.vue b/src/layouts/insurance-details/insurance-details.vue index 67670b9cc..6713819c2 100644 --- a/src/layouts/insurance-details/insurance-details.vue +++ b/src/layouts/insurance-details/insurance-details.vue @@ -39,7 +39,16 @@ format="MM/dd/yyyy" modelType="MM/dd/yyyy" :enableTimePicker="false" - :clearable="false" /> + :clearable="false" + :textInput="true" /> + + item.value === order.payment?.parentAccountNumber?.toString() + ); + return !!parent; + }, stateOptions() { return stateOptions; }, @@ -231,6 +251,9 @@ export default { getPolicyZipFromStore() { return store.getters.order.policy.zipCode ?? ""; }, + getClaimNumberFromStore() { + return store.getters.order.policy.claimNumber ?? ""; + }, backButtonAction() { this.$router.navigateWithoutSaving( this.navigationScenarios.CLICKED_BACK, @@ -247,6 +270,7 @@ export default { city: this.city, state: this.policyState, zipCode: this.policyZip, + claimNumber: this.claimNumber, }, false ); diff --git a/src/store/index.js b/src/store/index.js index a58200a96..4f729efa3 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -170,6 +170,7 @@ const getDefaultState = () => { currentDeductible: 0, originalDeductible: 0, policyNumber: null, + claimNumber: null, isItac: false, additionalAuthFlag: null, isNoComp: false, @@ -355,6 +356,9 @@ export const mutations = { updateZipCode(state, zipCode) { state.order.policy.zipCode = zipCode; }, + updateClaimNumber(state, claimNumber) { + state.order.policy.claimNumber = claimNumber; + }, updateIsClaimAndCoverage(state, isClaimAndCoverage) { state.order.payment.isClaimAndCoverage = isClaimAndCoverage; }, @@ -523,6 +527,7 @@ export const mutations = { state.order.policy.city = insuranceDetails.city; state.order.policy.state = insuranceDetails.state; state.order.policy.zipCode = insuranceDetails.zipCode; + state.order.policy.claimNumber = insuranceDetails.claimNumber; } }, updateDamageDetails(state, damageDetails) {