Merge pull request #3123 from Safelite/feature/CASH-2505
Feature/cash 2505
This commit is contained in:
commit
1a05482746
1 changed files with 8 additions and 14 deletions
|
|
@ -590,12 +590,6 @@ export default {
|
||||||
}
|
}
|
||||||
// there are no active or inactive external parameters; use internal threshold
|
// there are no active or inactive external parameters; use internal threshold
|
||||||
if (internalThreshold) thresholdToUse = internalThreshold;
|
if (internalThreshold) thresholdToUse = internalThreshold;
|
||||||
|
|
||||||
vm.isInsuranceSelected = getIsInsuranceSelectedValue(
|
|
||||||
vm.availableLineItems,
|
|
||||||
thresholdToUse
|
|
||||||
);
|
|
||||||
baseMixin.methods.ResetExternalParamsAndHideModal();
|
|
||||||
} else {
|
} else {
|
||||||
// user came from an external source, however, the externalParms may have been reset on service-zip, property-questions, etc...
|
// user came from an external source, however, the externalParms may have been reset on service-zip, property-questions, etc...
|
||||||
if (getBoolFromString(store.getters.externalParameterQuote?.isInsurance)) {
|
if (getBoolFromString(store.getters.externalParameterQuote?.isInsurance)) {
|
||||||
|
|
@ -613,8 +607,6 @@ export default {
|
||||||
) {
|
) {
|
||||||
await vm.skip(insuranceSelection, servicePackage);
|
await vm.skip(insuranceSelection, servicePackage);
|
||||||
}
|
}
|
||||||
|
|
||||||
baseMixin.methods.ResetExternalParamsAndHideModal();
|
|
||||||
} else {
|
} else {
|
||||||
if (externalThreshold) thresholdToUse = externalThreshold;
|
if (externalThreshold) thresholdToUse = externalThreshold;
|
||||||
|
|
||||||
|
|
@ -622,15 +614,17 @@ export default {
|
||||||
{
|
{
|
||||||
debugLog("quote.vue tab select NOT EXTERNAL");
|
debugLog("quote.vue tab select NOT EXTERNAL");
|
||||||
}
|
}
|
||||||
|
|
||||||
vm.isInsuranceSelected = getIsInsuranceSelectedValue(
|
|
||||||
vm.availableLineItems,
|
|
||||||
thresholdToUse
|
|
||||||
);
|
|
||||||
baseMixin.methods.ResetExternalParamsAndHideModal();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (vm.isInsuranceSelected == null) {
|
||||||
|
vm.isInsuranceSelected = getIsInsuranceSelectedValue(
|
||||||
|
vm.availableLineItems,
|
||||||
|
thresholdToUse
|
||||||
|
);
|
||||||
|
}
|
||||||
|
baseMixin.methods.ResetExternalParamsAndHideModal();
|
||||||
|
|
||||||
if (vm.skipToInsurance && !vm.showSaveProgressPopup) {
|
if (vm.skipToInsurance && !vm.showSaveProgressPopup) {
|
||||||
// skip ahead only if no email popup.
|
// skip ahead only if no email popup.
|
||||||
await vm.skip(true, externalParamPackageLabels.GLASS_ONLY);
|
await vm.skip(true, externalParamPackageLabels.GLASS_ONLY);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue