commit
ccf6ef9c94
2 changed files with 12 additions and 3 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -34,7 +34,9 @@
|
|||
:insuranceDeductible="currentDeductible"
|
||||
:insuranceCompanyName="insuranceCompanyName"
|
||||
:showInsuranceCoverageAs="showInsuranceCoverageAs"
|
||||
:shouldHideRecalibration="shouldHideRecalibration" />
|
||||
:shouldHideRecalibration="shouldHideRecalibration"
|
||||
:isItac="isItac"
|
||||
:isNocomp="isNocomp" />
|
||||
|
||||
<hr class="my-5" />
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue