little updates

This commit is contained in:
Michaela Brydon 2024-03-08 15:10:02 -05:00
parent 549c03934e
commit ff9cc2476e
2 changed files with 22 additions and 3 deletions

View file

@ -38,6 +38,14 @@
<span id="base-price-value">{{ getDisplayed(baseServicePrice) }}</span>
</div>
</div>
<!-- <div
id="cart-service"
class="d-flex justify-content-between align-items-center">
<span
id="service-label"
class="label">{{ serviceLabel }}</span>
<span id="service-value">{{ formatAmountInDollars(serviceValue) }}</span>
</div> -->
</div>
</div>
</template>
@ -56,7 +64,8 @@ export default {
showAsPaid: Boolean,
amountDueLabel: String,
deductibleLabel: String,
basePriceLabel: String
basePriceLabel: String,
serviceLabel: String
},
data() {
const { currentDeductible } = useMainStore().order;
@ -94,6 +103,10 @@ export default {
return this.showAsPaid
? 0
: this.subTotal + this.salesTax;
},
// TODO
serviceValue() {
return 25;
}
},
methods: {
@ -104,7 +117,8 @@ export default {
return this.isUnverified && this.showDeductibleLineItem
? VERIFYING_COVERAGE
: formatAmountInDollars(amount);
}
},
formatAmountInDollars
}
};

View file

@ -23,7 +23,8 @@
:showAsPaid="false"
:amountDueLabel="amountDueText"
:deductibleLabel="deductibleLabel"
:basePriceLabel="basePriceLabel" />
:basePriceLabel="basePriceLabel"
:serviceLabel="serviceLabel" />
<hr class="mt-0 mb-5" />
<div>Pia Alert Placeholder</div>
<paymentMethodQuestion
@ -140,6 +141,10 @@ export default {
},
basePriceLabel() {
return this.getCmsContent(this.widget.basePrice, widgetFields.TEXT_BLOCK_WIDGET.TEXT);
},
// TODO
serviceLabel() {
return 'Standard service';
}
},
watch: {