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
|
||||
const { firstName, lastName, phoneNumber, emailAddress } = useMainStore().order.customer;
|
||||
const { firstName, lastName, emailAddress } = useMainStore().order.customer;
|
||||
const customerReqs = !!(
|
||||
firstName
|
||||
&& lastName
|
||||
&& phoneNumber
|
||||
&& emailAddress
|
||||
);
|
||||
|
||||
// Contact Info
|
||||
const { contactInfo } = useMainStore().order;
|
||||
const contactInfoReqs = !!(
|
||||
contactInfo.firstName
|
||||
&& contactInfo.lastName
|
||||
&& contactInfo.servicePhone
|
||||
&& contactInfo.emailAddress
|
||||
);
|
||||
|
||||
return (
|
||||
vehicleReqs
|
||||
&& damageReqs
|
||||
|
|
@ -262,6 +270,7 @@ export default {
|
|||
&& serviceLocationReqs
|
||||
&& scheduleReqs
|
||||
&& customerReqs
|
||||
&& contactInfoReqs
|
||||
);
|
||||
},
|
||||
getPaymentMethodFromStore() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue