Merge pull request #2011 from Safelite/feature/CSR-2237

CSR-2237
This commit is contained in:
CarlNation 2024-10-03 08:54:15 -04:00 committed by GitHub
commit ccf6ef9c94
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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" />