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.policy.isNoComp;
|
||||
},
|
||||
|
||||
isItac() {
|
||||
return this.hasSubmittedOrder()
|
||||
? this.$store.getters.submittedOrder.policy.isItac
|
||||
: this.$store.getters.policy.isItac;
|
||||
},
|
||||
hasVapsInCart() {
|
||||
if (this.lineItems?.vaps?.length > 0) {
|
||||
return true;
|
||||
|
|
@ -536,7 +540,7 @@ export default {
|
|||
},
|
||||
showInsuranceCoverageAs() {
|
||||
if (!this.isInsurance) return null;
|
||||
if (this.isNoComp) {
|
||||
if (this.isNoComp || this.isItac) {
|
||||
return coverageStatus.NOCOMP;
|
||||
} else {
|
||||
return this.hasSubmittedOrder()
|
||||
|
|
|
|||
Loading…
Reference in a new issue