From 67825bfdf9af07f94010adf6bf8b5280b8adffeb Mon Sep 17 00:00:00 2001 From: Michaela Brydon Date: Mon, 25 Mar 2024 12:56:58 -0400 Subject: [PATCH] Fixing subtotal --- src/iss-components/cart-dropdown/cart-dropdown.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/iss-components/cart-dropdown/cart-dropdown.vue b/src/iss-components/cart-dropdown/cart-dropdown.vue index 13d6a1d9..368b30d3 100644 --- a/src/iss-components/cart-dropdown/cart-dropdown.vue +++ b/src/iss-components/cart-dropdown/cart-dropdown.vue @@ -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