This commit is contained in:
brydon1 2023-06-28 12:02:43 -04:00
parent 044a2c2798
commit 9eb2892e02

View file

@ -919,7 +919,7 @@ export const useMainStore = defineStore({
this.applicationUser.pageData[pageData.page] = pageData.data;
},
updatePolicyData(welcomePageModel)
{ // TODO add to this?
{
this.order.policy.policyNumber = welcomePageModel?.policyNumber;
this.order.policy.policyZipCode = welcomePageModel?.policyZipCode;
this.order.policy.dateOfLoss = welcomePageModel?.dateOfLoss;
@ -929,9 +929,6 @@ export const useMainStore = defineStore({
this.order.policy.isDamageGlassOnly = welcomePageModel?.isDamageGlassOnly;
this.order.customer.phoneNumber = welcomePageModel?.phoneNumber;
this.order.customer.emailAddress = welcomePageModel?.email;
if (!this.issConfig.isClaimRegistrationRequired){
this.order.insuranceCoverage.isVerified = true;
}
},
updatePolicyHolderDetails(customerQuestions)
{