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);
},
subTotal() {
// TODO partial calculation for now
return this.showDeductibleLineItem ? this.deductible : this.baseServicePrice;
const basePrice = this.showDeductibleLineItem
? this.deductible
: this.baseServicePrice;
return basePrice + this.packagePrice;
},
salesTax() {
return 0; // TODO