WIP add store info.

This commit is contained in:
Bryan Mauger 2024-06-21 15:58:11 -04:00
parent b0377459d5
commit b24b33e5ed

View file

@ -53,8 +53,13 @@
<textBlock cmsWidgetName="CallOrTextWidget" justifyText="left" />
<hr class="my-5" />
<div class="d-flex flex-row checkbox-group">
<checkboxQuestion class="mb-5" v-model="isRecalAckOptIn" />
<textBlock cmsWidgetName="RecalConfirmationWidget" justifyText="left" @text-link-clicked="openModal" />
<checkboxQuestion
class="mb-5"
v-model="isRecalAck" />
<textBlock
cmsWidgetName="RecalConfirmationWidget"
justifyText="left"
@text-link-clicked="openModal" />
</div>
</div>
@ -332,7 +337,7 @@ export default {
availableVaps: [],
paymentMethodInternalModel: this.getPaymentMethodFromStore(),
inactivePromos: this.getInactivePromosFromStore(),
isRecalAckOptIn: this.getIsRecalAckOptInFromStore(),
isRecalAck: this.getIsRecalAckFromStore(),
};
},
methods: {
@ -402,8 +407,8 @@ export default {
return serviceLocationReqs && isInsuranceSet && scheduleReqs && customerReqs;
},
getIsRecalAckOptInFromStore() {
return store.getters.order.customer.isRecalAckOptIn;
getIsRecalAckFromStore() {
return store.getters.order.customer.isRecalAck;
},
getPaymentMethodFromStore() {
const piaType = store.getters.order.payment.piaType;