From a30d62ee513b974b409dd13f97fbbbae2d53c6e6 Mon Sep 17 00:00:00 2001 From: "johnny@pittpc.com" Date: Wed, 20 Jan 2021 19:36:03 -0500 Subject: [PATCH] Fixed up Phone ext and email placement on client print --- client_print.php | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/client_print.php b/client_print.php index 254af060..bd1a1660 100644 --- a/client_print.php +++ b/client_print.php @@ -160,10 +160,9 @@ if(isset($_GET['client_id'])){ Name Title - Phone - Ext - Mobile Email + Phone + Mobile @@ -178,6 +177,9 @@ if(isset($_GET['client_id'])){ $contact_phone = substr($row['contact_phone'],0,3)."-".substr($row['contact_phone'],3,3)."-".substr($row['contact_phone'],6,4); } $contact_extension = $row['contact_extension']; + if(!empty($contact_extension)){ + $contact_extension = "x $contact_extension"; + } $contact_mobile = $row['contact_mobile']; if(strlen($contact_mobile)>2){ $contact_mobile = substr($row['contact_mobile'],0,3)."-".substr($row['contact_mobile'],3,3)."-".substr($row['contact_mobile'],6,4); @@ -188,10 +190,9 @@ if(isset($_GET['client_id'])){ - - - + +