CASH-152: add price placeholder and boolean for cash vs insurance

This commit is contained in:
Adam Caouette 2025-02-26 13:44:06 -05:00
parent 127e7b19b5
commit 24b473fffd
2 changed files with 8 additions and 0 deletions

View file

@ -72,6 +72,9 @@
:id="`${month.monthLabel}-${date.dateNum.toString()}`" />
<label :for="`${month.monthLabel}-${date.dateNum.toString()}`">
<span>{{ date.dateNum.toString() }}</span>
<span v-if="showPricingByDay">$000</span>
</label>
</div>
</div>
@ -156,6 +159,7 @@ export default {
type: String,
default: "",
},
showPricingByDay: Boolean,
},
setup(props) {
const uuid = uuidv4();

View file

@ -27,6 +27,7 @@
class="text-link-small"
:customSelectableDatesCallback="getAvailableDatesMethod"
validationRules="date-required"
:showPricingByDay="showPricingByDay"
@date-clicked="openInshopTimeSlotsModal" />
<datePicker
v-else
@ -331,6 +332,9 @@ export default {
?.toLowerCase() === "true"
);
},
showPricingByDay() {
return !this.$store.getters.payment.isInsurance;
},
},
methods: {
splitCopyOnCMSPlaceHolder,