This commit is contained in:
sriramv 2023-07-24 16:20:14 +05:30
parent 76544bda1e
commit 7ff4057a1c
2 changed files with 12 additions and 2 deletions

View File

@ -63,7 +63,12 @@
Transaction by :</td>
<td
style="padding: 10px; border-bottom: 1px solid #ededed; color: #455056;">
<?= $profile[0]['name']." ".$profile[0]['last_name']." (".$profile[0]['mobile'].")"; ?>
<?= $profile[0]['name']." ".$profile[0]['last_name'] ?>
<?php
if($profile[0]['mobile'] != ''){
$phone_number = preg_replace('/[^\w]_/', '', $profile[0]['mobile']);
echo "(".$phone_number.")"; }
?>
</tr>
</tbody>

View File

@ -65,7 +65,12 @@
Transaction by :</td>
<td
style="padding: 10px; border-bottom: 1px solid #ededed; color: #455056;">
<?= $profile[0]['name']." ".$profile[0]['last_name']." (".$profile[0]['mobile'].")"; ?>
<?= $profile[0]['name']." ".$profile[0]['last_name']; ?>
<?php
if($profile[0]['mobile'] != ''){
$phone_number = preg_replace('/[^\w]_/', '', $profile[0]['mobile']);
echo "(".$phone_number.")"; }
?>
</tr>
</tbody>