Merge pull request #1927 from Safelite/feature/CSR-2130

CSR-2130
This commit is contained in:
CarlNation 2024-07-29 14:40:30 -04:00 committed by GitHub
commit d3c0c07b45
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -643,9 +643,16 @@ export default {
}
},
showPaymentMethodQuestions() {
if (this.isPiaEnabled && this.totalAmountDue > 0 && !this.hasRecal) {
return true;
if (this.isInsurance) {
if (this.isPiaEnabled && this.totalAmountDue > 0) {
return true;
}
} else {
if (this.isPiaEnabled && this.totalAmountDue > 0 && !this.hasRecal) {
return true;
}
}
return false;
},
totalAmountDue() {