new bailout for ITAC/No Comp coverage statement

This commit is contained in:
Katie Kroell 2026-02-23 14:38:04 -05:00
parent 883d1980dc
commit 9a15915034
3 changed files with 9 additions and 3 deletions

View file

@ -1,3 +1,4 @@
// When adding a new bailout, the Digital Consumer Order Service must also be updated to map the new bailout code to the SV2BailoutCode
const bailoutCode = Object.freeze({
Unknown: 0,
SaveSessionError: 1,
@ -15,7 +16,8 @@ const bailoutCode = Object.freeze({
VehicleYMMSLookupError: 13,
ApplicationError: 14,
ApiError: 15,
RouterError: 16
RouterError: 16,
CoverageCancelledByUser: 17
});
export default bailoutCode;

View file

@ -93,7 +93,11 @@ const bailoutMessage = Object.freeze({
code: bailoutCode.VehicleYMMSLookupError,
message: getMessage(year, make, model, style)
};
}
},
CoverageCancelledByUser: () => ({
code: bailoutCode.CoverageCancelledByUser,
message: 'User canceled claim on ITAC/No Comp coverage statement.'
})
});
export default bailoutMessage;

View file

@ -462,7 +462,7 @@ export default {
},
cancelClaim() {
this.mainStore.updateIsSafeliteProvider(false);
this.$router.navigateBailout(bailoutMessage.RequestCallback());
this.$router.navigateBailout(bailoutMessage.CoverageCancelledByUser());
}
}
};