From 3d4ac1524e7535465930b9d39cd897c601667ecd Mon Sep 17 00:00:00 2001 From: CarlNation Date: Thu, 3 Oct 2024 08:30:55 -0400 Subject: [PATCH] CSR-2237 CSR-2237 show tax for itac and nocomp --- src/fmg-components/cart/cart.vue | 11 +++++++++-- src/layouts/payment-method/payment-method.vue | 4 +++- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/src/fmg-components/cart/cart.vue b/src/fmg-components/cart/cart.vue index e6b66d4e6..f2799d7be 100644 --- a/src/fmg-components/cart/cart.vue +++ b/src/fmg-components/cart/cart.vue @@ -188,6 +188,8 @@ export default { insuranceCompanyName: String, showInsuranceCoverageAs: String, shouldHideRecalibration: Boolean, + isItac: Boolean, + isNoComp: Boolean, }, data() { return { @@ -1007,8 +1009,13 @@ export default { }, salesTax() { if (!this.lineItems || this.lineItems.length < 1) return; - - if (this.isInsurance && !this.showCoverageAsVerified) { + + if ( + this.isInsurance && + !this.showCoverageAsVerified && + !this.isItac && + !this.isNoComp + ) { return 0; } diff --git a/src/layouts/payment-method/payment-method.vue b/src/layouts/payment-method/payment-method.vue index 6106e4008..9f8cee9ec 100644 --- a/src/layouts/payment-method/payment-method.vue +++ b/src/layouts/payment-method/payment-method.vue @@ -34,7 +34,9 @@ :insuranceDeductible="currentDeductible" :insuranceCompanyName="insuranceCompanyName" :showInsuranceCoverageAs="showInsuranceCoverageAs" - :shouldHideRecalibration="shouldHideRecalibration" /> + :shouldHideRecalibration="shouldHideRecalibration" + :isItac="isItac" + :isNocomp="isNocomp" />