From 7ab7a7094a008de6e458478e22e44d02ff396281 Mon Sep 17 00:00:00 2001 From: Tsanie Date: Tue, 6 Jun 2023 14:50:51 +0800 Subject: [PATCH] communication followers: mobile phone display text --- lib/app/communications/customer.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/app/communications/customer.js b/lib/app/communications/customer.js index 544b389..de0cc1a 100644 --- a/lib/app/communications/customer.js +++ b/lib/app/communications/customer.js @@ -273,13 +273,14 @@ class CustomerCommunication { continue; } const mp = String(f.MobilePhone).trim(); + const mpDisplay = String(f.MobilePhoneDisplayText).trim(); const email = String(f.Email).trim(); const tips = []; if (f.SendEmail) { tips.push(r('emailsToColon', 'Emails to:') + ` ${email}`); } if (f.SendText) { - tips.push(r('textsToColon', 'Texts to:' + ` ${mp}`)); + tips.push(r('textsToColon', 'Texts to:' + ` ${mpDisplay}`)); } let icon; if (f.SendText && f.SendEmail) {