CSR-2237 show tax for itac and nocomp
This commit is contained in:
CarlNation 2024-10-03 08:30:55 -04:00
parent 0b2bf2bb23
commit 3d4ac1524e
2 changed files with 12 additions and 3 deletions

View file

@ -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;
}

View file

@ -34,7 +34,9 @@
:insuranceDeductible="currentDeductible"
:insuranceCompanyName="insuranceCompanyName"
:showInsuranceCoverageAs="showInsuranceCoverageAs"
:shouldHideRecalibration="shouldHideRecalibration" />
:shouldHideRecalibration="shouldHideRecalibration"
:isItac="isItac"
:isNocomp="isNocomp" />
<hr class="my-5" />