CSR-2099
add ITAC deductible logic on payment and confirmation pages
This commit is contained in:
parent
c3021ff42f
commit
2929697243
2 changed files with 8 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue