From e8e26ed0d14986eed799a74d2214706daaa314d3 Mon Sep 17 00:00:00 2001 From: Bill Richardson Date: Thu, 14 Sep 2023 14:45:04 -0400 Subject: [PATCH] use zip and state from serviceLocation if available --- src/layouts/service-location/service-location.vue | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/layouts/service-location/service-location.vue b/src/layouts/service-location/service-location.vue index ebbc1334..925221dc 100644 --- a/src/layouts/service-location/service-location.vue +++ b/src/layouts/service-location/service-location.vue @@ -369,11 +369,10 @@ export default { return useMainStore().order.serviceLocation.city; }, getServiceStateFromStore() { - return useMainStore().order.serviceLocation.state; + return useMainStore().order.serviceLocation.state || useMainStore().order.customer.address.state; }, getServiceZipCodeFromStore() { - return useMainStore().order.customer.address.zipCode; - // return useMainStore().order.serviceLocation.zipCode; + return useMainStore().order.serviceLocation.zipCode || useMainStore().order.customer.address.zipCode; }, getIsVehicleProtectedFromStore() { return useMainStore().order.serviceLocation.isVehicleProtected;