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