CSR-2099: possible fix that treats NoComp and ITAC the same as far as cart appearance
This commit is contained in:
parent
f634b58edc
commit
c798b69bda
2 changed files with 9 additions and 2 deletions
|
|
@ -297,6 +297,9 @@ export default {
|
|||
showCoverageAsVerified() {
|
||||
return this.showInsuranceCoverageAs === coverageStatus.VERIFIED;
|
||||
},
|
||||
showCoverageAsNoCompOrItac() {
|
||||
return this.showInsuranceCoverageAs === coverageStatus.NOCOMP;
|
||||
},
|
||||
currentDeductible() {
|
||||
const deductible = this.insuranceDeductible;
|
||||
if (!(deductible === 0 || deductible > 0)) {
|
||||
|
|
|
|||
|
|
@ -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