commit
71abfc1d90
2 changed files with 6 additions and 5 deletions
|
|
@ -129,11 +129,6 @@ export async function navigateToHeritageFunnel({ shouldSaveSession, pageNameToLo
|
||||||
heritageParms["forceEndToEndInsurance"] = true;
|
heritageParms["forceEndToEndInsurance"] = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
// if they are going to heritage and already have a policy number then this is a nav back flow
|
|
||||||
if (store.getters.policy.policyNumber) {
|
|
||||||
heritageParms["insuranceNavBack"] = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
router.navigateToExternalUrl(externalUrls.HERITAGE_FUNNEL, heritageParms);
|
router.navigateToExternalUrl(externalUrls.HERITAGE_FUNNEL, heritageParms);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -458,6 +458,12 @@ export default {
|
||||||
},
|
},
|
||||||
updateAndSaveSupportingItems() {
|
updateAndSaveSupportingItems() {
|
||||||
const supportingItems = store.getters.lineItems.supportingItems;
|
const supportingItems = store.getters.lineItems.supportingItems;
|
||||||
|
|
||||||
|
// for insurance orders, fees can get removed causing supportingitems to be null or empty
|
||||||
|
if (!supportingItems) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// if we have a mobile fee, then save/update supporting items
|
// if we have a mobile fee, then save/update supporting items
|
||||||
if (this.selectedAppointmentType == "Mobile") {
|
if (this.selectedAppointmentType == "Mobile") {
|
||||||
const mobileFeeIndex = supportingItems.findIndex(
|
const mobileFeeIndex = supportingItems.findIndex(
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue