communication followers: mobile phone display text

This commit is contained in:
2023-06-06 14:50:51 +08:00
parent ca22a60b83
commit 7ab7a7094a

View File

@ -273,13 +273,14 @@ class CustomerCommunication {
continue; continue;
} }
const mp = String(f.MobilePhone).trim(); const mp = String(f.MobilePhone).trim();
const mpDisplay = String(f.MobilePhoneDisplayText).trim();
const email = String(f.Email).trim(); const email = String(f.Email).trim();
const tips = []; const tips = [];
if (f.SendEmail) { if (f.SendEmail) {
tips.push(r('emailsToColon', 'Emails to:') + ` ${email}`); tips.push(r('emailsToColon', 'Emails to:') + ` ${email}`);
} }
if (f.SendText) { if (f.SendText) {
tips.push(r('textsToColon', 'Texts to:' + ` ${mp}`)); tips.push(r('textsToColon', 'Texts to:' + ` ${mpDisplay}`));
} }
let icon; let icon;
if (f.SendText && f.SendEmail) { if (f.SendText && f.SendEmail) {