From 6912bc6effc6fb1be9765f72045421c052050c28 Mon Sep 17 00:00:00 2001 From: Bill Richardson Date: Thu, 15 Jan 2026 10:40:57 -0500 Subject: [PATCH] remove email from policyUpdate. Only called on Welcome page. --- src/store/index.js | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/src/store/index.js b/src/store/index.js index 3441021d..060b967c 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -2275,7 +2275,6 @@ export const useMainStore = defineStore({ this.order.policy.damageState = welcomePageModel?.damageState; this.order.policy.damageCity = welcomePageModel?.damageCity; this.order.policy.isDamageGlassOnly = welcomePageModel?.isDamageGlassOnly; - this.order.customer.emailAddress = welcomePageModel?.email; this.order.serviceLocation.zipCode = welcomePageModel?.policyZipCode; this.updatePhoneNumbers({ home: welcomePageModel?.phoneNumber, @@ -2369,23 +2368,23 @@ export const useMainStore = defineStore({ const isMobileApt = appointmentType === AppointmentTypeStrings.MOBILE || appointmentType === AppointmentTypeStrings.MOBILE_NOT_ITAC_AND_NOT_NOCOMP; - + const retPricedLineItems = await globalMethods.callHttpClient({ method: endpoints.TaxOrderItems.method, endpoint: endpoints.TaxOrderItems.url, payload: { - ParentAccountNumber: this.order.parentAccountNumber, - BillToAccountNumber: this.billToAccountNumber, - ProviderNumber: this.providerNumber, - AppointmentType: appointmentType, - PricedLineItems: getLineItemsFlattened(pricedLineItems), - ServiceLocation: { - City: isMobileApt ? serviceLocationCity : null, - State: isMobileApt ? serviceLocationState : null, - ZipCode: isMobileApt ? serviceLocationZipCode : null, - }, - ServerData: lineItemServerData ? lineItemServerData : "", - }, + ParentAccountNumber: this.order.parentAccountNumber, + BillToAccountNumber: this.billToAccountNumber, + ProviderNumber: this.providerNumber, + AppointmentType: appointmentType, + PricedLineItems: getLineItemsFlattened(pricedLineItems), + ServiceLocation: { + City: isMobileApt ? serviceLocationCity : null, + State: isMobileApt ? serviceLocationState : null, + ZipCode: isMobileApt ? serviceLocationZipCode : null + }, + ServerData: lineItemServerData || '' + } }).then((response) => { this.order.lineItems.serverData = response.data.serverData; return addTaxesToPricedLineItems(pricedLineItems, response.data.taxedLineItems);