CSR-2182: fix package price to remove recal
This commit is contained in:
parent
52c9bfecf7
commit
16538fff6f
1 changed files with 10 additions and 2 deletions
|
|
@ -140,7 +140,7 @@
|
|||
</div>
|
||||
<div
|
||||
class="my-2 lh-1 applied-promo-tag"
|
||||
v-for="(promoCode, i) in this.getPromoCodeList()"
|
||||
v-for="(promoCode, i) in getPromoCodeList"
|
||||
:key="i">
|
||||
<span class="caption"
|
||||
>Promo code <span class="promo-code">{{ promoCode }}</span> applied
|
||||
|
|
@ -284,6 +284,7 @@ export default {
|
|||
(lineItemsToKeep) => lineItemsToKeep.cartItemType != cartItemType
|
||||
);
|
||||
},
|
||||
|
||||
getPromoCodeList() {
|
||||
if (this.$refs["promoModalQuestion"]) {
|
||||
return this.$refs["promoModalQuestion"].getPromoCodeList();
|
||||
|
|
@ -436,7 +437,14 @@ export default {
|
|||
packagePrice() {
|
||||
let packagePrice = 0;
|
||||
|
||||
if (!this.showCoverageAsVerified && !this.showCoverageAsPending) {
|
||||
if (!this.isInsurance) {
|
||||
// CASH ONLY
|
||||
packagePrice = baseMixin.methods.getTierOnePackagePrice(
|
||||
baseMixin.methods.filterOutFees(
|
||||
baseMixin.methods.filterOutRecalibration(this.availableLineItems)
|
||||
)
|
||||
);
|
||||
} else if (!this.showCoverageAsVerified && !this.showCoverageAsPending) {
|
||||
packagePrice = baseMixin.methods.getTierOnePackagePrice(
|
||||
baseMixin.methods.filterOutFees(this.availableLineItems)
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in a new issue