use customer.address.state in ITAC pricing call if damageState isn't available

This commit is contained in:
Katie Kroell 2024-11-26 16:35:09 -05:00
parent 77a791444d
commit 85f105a9ae

View file

@ -1165,7 +1165,7 @@ export const useMainStore = defineStore({
ServerData: this.order.lineItems.serverData,
Customer: {
PhoneNumber: contactInfo.servicePhone,
State: policy.damageState,
State: policy.damageState || this.order.customer.address.state,
ZipCode: policy.policyZipCode
},
Account: {