SSR-1125 Fix Payment Method Pre Reqs
This commit is contained in:
parent
117a5f191e
commit
b7e08c9039
1 changed files with 11 additions and 2 deletions
|
|
@ -247,14 +247,22 @@ export default {
|
||||||
);
|
);
|
||||||
|
|
||||||
// Customer
|
// Customer
|
||||||
const { firstName, lastName, phoneNumber, emailAddress } = useMainStore().order.customer;
|
const { firstName, lastName, emailAddress } = useMainStore().order.customer;
|
||||||
const customerReqs = !!(
|
const customerReqs = !!(
|
||||||
firstName
|
firstName
|
||||||
&& lastName
|
&& lastName
|
||||||
&& phoneNumber
|
|
||||||
&& emailAddress
|
&& emailAddress
|
||||||
);
|
);
|
||||||
|
|
||||||
|
// Contact Info
|
||||||
|
const { contactInfo } = useMainStore().order;
|
||||||
|
const contactInfoReqs = !!(
|
||||||
|
contactInfo.firstName
|
||||||
|
&& contactInfo.lastName
|
||||||
|
&& contactInfo.servicePhone
|
||||||
|
&& contactInfo.emailAddress
|
||||||
|
);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
vehicleReqs
|
vehicleReqs
|
||||||
&& damageReqs
|
&& damageReqs
|
||||||
|
|
@ -262,6 +270,7 @@ export default {
|
||||||
&& serviceLocationReqs
|
&& serviceLocationReqs
|
||||||
&& scheduleReqs
|
&& scheduleReqs
|
||||||
&& customerReqs
|
&& customerReqs
|
||||||
|
&& contactInfoReqs
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
getPaymentMethodFromStore() {
|
getPaymentMethodFromStore() {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue