From 3b00d754f7154c861f28fa1dce03436123f34836 Mon Sep 17 00:00:00 2001 From: Katie Kroell Date: Thu, 25 Jan 2024 16:46:27 -0500 Subject: [PATCH] remove carrier phone number if unverified --- src/layouts/tpa-confirmation/tpa-confirmation.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/layouts/tpa-confirmation/tpa-confirmation.vue b/src/layouts/tpa-confirmation/tpa-confirmation.vue index d6ccbe05..83348949 100644 --- a/src/layouts/tpa-confirmation/tpa-confirmation.vue +++ b/src/layouts/tpa-confirmation/tpa-confirmation.vue @@ -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; }