remove carrier phone number if unverified

This commit is contained in:
Katie Kroell 2024-01-25 16:46:27 -05:00
parent 0603c37adc
commit 3b00d754f7

View file

@ -141,8 +141,9 @@ export default {
return this.getCmsContent('TPAConfirmationContent', 'BodyText2');
},
contactCarrierText() {
return this.getCmsContent('ContactCarrierContent', 'Text')
const contactCarrierText = this.getCmsContent('ContactCarrierContent', 'Text')
?.replaceAll('{custom:carrierPhoneNumber}', this.carrierPhoneNumber);
return this.processIfStatements(contactCarrierText, 'custom', this.getCustomValueFromString);
},
orderDetailsTitle() {
return this.getCmsContent('OrderDetailsContent', 'HeaderText');
@ -200,6 +201,8 @@ export default {
return this.isVerified && this.currentDeductible === 0;
case 'verifyingCoverage':
return !this.isVerified;
case 'coverageVerified':
return this.isVerified;
default:
return null;
}