Merge pull request #1867 from Safelite/feature/CSR-2099-ajc
CSR-2099: possible fix that treats NoComp and ITAC the same as far as cart appearance
This commit is contained in:
commit
60de537226
1 changed files with 6 additions and 2 deletions
|
|
@ -527,7 +527,11 @@ export default {
|
||||||
? this.$store.getters.submittedOrder.policy.isNoComp
|
? this.$store.getters.submittedOrder.policy.isNoComp
|
||||||
: this.$store.getters.policy.isNoComp;
|
: this.$store.getters.policy.isNoComp;
|
||||||
},
|
},
|
||||||
|
isItac() {
|
||||||
|
return this.hasSubmittedOrder()
|
||||||
|
? this.$store.getters.submittedOrder.policy.isItac
|
||||||
|
: this.$store.getters.policy.isItac;
|
||||||
|
},
|
||||||
hasVapsInCart() {
|
hasVapsInCart() {
|
||||||
if (this.lineItems?.vaps?.length > 0) {
|
if (this.lineItems?.vaps?.length > 0) {
|
||||||
return true;
|
return true;
|
||||||
|
|
@ -536,7 +540,7 @@ export default {
|
||||||
},
|
},
|
||||||
showInsuranceCoverageAs() {
|
showInsuranceCoverageAs() {
|
||||||
if (!this.isInsurance) return null;
|
if (!this.isInsurance) return null;
|
||||||
if (this.isNoComp) {
|
if (this.isNoComp || this.isItac) {
|
||||||
return coverageStatus.NOCOMP;
|
return coverageStatus.NOCOMP;
|
||||||
} else {
|
} else {
|
||||||
return this.hasSubmittedOrder()
|
return this.hasSubmittedOrder()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue