SSR-1165 Don't include recycle fee in quote amount
This commit is contained in:
parent
1f476e4000
commit
e2da6bad9e
1 changed files with 2 additions and 5 deletions
|
|
@ -193,7 +193,6 @@ export default {
|
||||||
rules: {
|
rules: {
|
||||||
selectionRequired: globalRules.OPTION_REQUIRED
|
selectionRequired: globalRules.OPTION_REQUIRED
|
||||||
},
|
},
|
||||||
supportingItems: null,
|
|
||||||
widget: {
|
widget: {
|
||||||
subheader: 'SiteSubHeaderWidget',
|
subheader: 'SiteSubHeaderWidget',
|
||||||
verifiedItacAlert: 'VerifiedITACAlert',
|
verifiedItacAlert: 'VerifiedITACAlert',
|
||||||
|
|
@ -361,7 +360,7 @@ export default {
|
||||||
? JSON.parse(JSON.stringify(useMainStore().lineItems.glassParts))
|
? JSON.parse(JSON.stringify(useMainStore().lineItems.glassParts))
|
||||||
: [];
|
: [];
|
||||||
const availableLineItems = [
|
const availableLineItems = [
|
||||||
...(this.supportingItems ?? []),
|
...(this.mainStore.lineItems.supportingItems ?? []),
|
||||||
...(clonedGlassParts ?? [])
|
...(clonedGlassParts ?? [])
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
@ -393,12 +392,10 @@ export default {
|
||||||
},
|
},
|
||||||
async navigateForward() {
|
async navigateForward() {
|
||||||
if (this.isUnverifiedVisible || this.isDeductibleVisible) {
|
if (this.isUnverifiedVisible || this.isDeductibleVisible) {
|
||||||
useMainStore().updateSupportingItems(this.supportingItems);
|
|
||||||
this.navigateWithScenario(navigationScenarios.CLICKED_FORWARD);
|
this.navigateWithScenario(navigationScenarios.CLICKED_FORWARD);
|
||||||
} else if (this.isITACQuoteVisible || this.isNoCompQuoteVisible) {
|
} else if (this.isITACQuoteVisible || this.isNoCompQuoteVisible) {
|
||||||
useMainStore().updateIsSafeliteProvider(this.selectedProvider === SAFELITE_PROVIDER);
|
useMainStore().updateIsSafeliteProvider(this.selectedProvider === SAFELITE_PROVIDER);
|
||||||
if (this.selectedProvider === SAFELITE_PROVIDER) {
|
if (this.selectedProvider === SAFELITE_PROVIDER) {
|
||||||
useMainStore().updateSupportingItems(this.supportingItems);
|
|
||||||
this.navigateWithScenario(navigationScenarios.CLICKED_FORWARD_WITH_SAFELITE);
|
this.navigateWithScenario(navigationScenarios.CLICKED_FORWARD_WITH_SAFELITE);
|
||||||
} else {
|
} else {
|
||||||
useMainStore().setBailout(bailoutMessage.RequestCallback());
|
useMainStore().setBailout(bailoutMessage.RequestCallback());
|
||||||
|
|
@ -450,7 +447,7 @@ export default {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
setSupportingItems(newSupportingItems) {
|
setSupportingItems(newSupportingItems) {
|
||||||
this.supportingItems = newSupportingItems;
|
this.mainStore.updateSupportingItems(newSupportingItems);
|
||||||
},
|
},
|
||||||
setBaseServiceLineItems(lineItems) {
|
setBaseServiceLineItems(lineItems) {
|
||||||
this.baseServiceLineItems = lineItems;
|
this.baseServiceLineItems = lineItems;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue