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);
|
&& (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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue