Fixing subtotal

This commit is contained in:
Michaela Brydon 2024-03-25 12:56:58 -04:00
parent afde96f0f1
commit 67825bfdf9

View file

@ -213,8 +213,10 @@ export default {
&& (this.deductible == null || !useMainStore().isVerifiedCoverageStatus); && (this.deductible == null || !useMainStore().isVerifiedCoverageStatus);
}, },
subTotal() { subTotal() {
// TODO partial calculation for now const basePrice = this.showDeductibleLineItem
return this.showDeductibleLineItem ? this.deductible : this.baseServicePrice; ? this.deductible
: this.baseServicePrice;
return basePrice + this.packagePrice;
}, },
salesTax() { salesTax() {
return 0; // TODO return 0; // TODO