Fixing subtotal
This commit is contained in:
parent
afde96f0f1
commit
67825bfdf9
1 changed files with 4 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue