Merge pull request #1874 from Safelite/feature/CSR-2099-ajc

CSR-2099
This commit is contained in:
hiteshkumar87 2024-05-31 19:30:22 +05:30 committed by GitHub
commit 8273329185
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 8 additions and 2 deletions

View file

@ -289,6 +289,9 @@ export default {
isNoComp() {
return store.getters.submittedOrder.policy.isNoComp;
},
isItac() {
return store.getters.submittedOrder.policy.isItac;
},
hasVapsInCart() {
if (this.lineItems?.vaps?.length > 0) {
return true;
@ -297,7 +300,7 @@ export default {
},
showInsuranceCoverageAs() {
if (!this.isInsurance) return null;
if (this.isNoComp) {
if (this.isNoComp || this.isItac) {
return coverageStatus.NOCOMP;
} else {
return store.getters.submittedOrder.payment.insuranceCoverage.coverageStatus;

View file

@ -434,6 +434,9 @@ export default {
isNoComp() {
return this.$store.getters.policy.isNoComp;
},
isItac() {
return this.$store.getters.policy.isItac;
},
hasVapsInCart() {
if (this.lineItems?.vaps?.length > 0) {
return true;
@ -442,7 +445,7 @@ export default {
},
showInsuranceCoverageAs() {
if (!this.isInsurance) return null;
if (this.isNoComp) {
if (this.isNoComp || this.isItac) {
return coverageStatus.NOCOMP;
} else {
return this.$store.getters.payment.insuranceCoverage.coverageStatus;