use zip and state from serviceLocation if available
This commit is contained in:
parent
0c614601ec
commit
e8e26ed0d1
1 changed files with 2 additions and 3 deletions
|
|
@ -369,11 +369,10 @@ export default {
|
||||||
return useMainStore().order.serviceLocation.city;
|
return useMainStore().order.serviceLocation.city;
|
||||||
},
|
},
|
||||||
getServiceStateFromStore() {
|
getServiceStateFromStore() {
|
||||||
return useMainStore().order.serviceLocation.state;
|
return useMainStore().order.serviceLocation.state || useMainStore().order.customer.address.state;
|
||||||
},
|
},
|
||||||
getServiceZipCodeFromStore() {
|
getServiceZipCodeFromStore() {
|
||||||
return useMainStore().order.customer.address.zipCode;
|
return useMainStore().order.serviceLocation.zipCode || useMainStore().order.customer.address.zipCode;
|
||||||
// return useMainStore().order.serviceLocation.zipCode;
|
|
||||||
},
|
},
|
||||||
getIsVehicleProtectedFromStore() {
|
getIsVehicleProtectedFromStore() {
|
||||||
return useMainStore().order.serviceLocation.isVehicleProtected;
|
return useMainStore().order.serviceLocation.isVehicleProtected;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue