CHANGE_logo_fix_final_4 - VADIVEL J 2025-09-20

This commit is contained in:
vadivelJ96 2025-09-20 12:47:27 +05:30
parent 78397a1d6d
commit 9e0261317e
2 changed files with 27 additions and 15 deletions

View File

@ -62,6 +62,7 @@ class sendMailNotification
$header_of_mail = view('notification_mail_header', $params);
$footer_of_mail = view('notification_mail_footer', $params);
$mail_content = preg_replace('/<p[^>]*>(&nbsp;|\s)*<\/p>/i', '', $mail_content);
$mail_content = $header_of_mail .
'<div align="center">
<table width="100%" border="0" cellspacing="0" cellpadding="0"
@ -110,6 +111,7 @@ class sendMailNotification
$header_of_mail = view('notification_mail_header', $params);
$footer_of_mail = view('notification_mail_footer', $params);
$mail_content = preg_replace('/<p[^>]*>(&nbsp;|\s)*<\/p>/i', '', $mail_content);
$mail_content = $header_of_mail .
'<div align="center">
<table width="100%" border="0" cellspacing="0" cellpadding="0"
@ -176,6 +178,7 @@ class sendMailNotification
$header_of_mail = view('notification_mail_header', $params);
$footer_of_mail = view('notification_mail_footer', $params);
$mail_content = preg_replace('/<p[^>]*>(&nbsp;|\s)*<\/p>/i', '', $mail_content);
$mail_content = $header_of_mail .
'<div align="center">
<table width="100%" border="0" cellspacing="0" cellpadding="0"
@ -590,6 +593,7 @@ class sendMailNotification
$header_of_mail = view('notification_mail_header', $params);
$footer_of_mail = view('notification_mail_footer', $params);
$mail_content = preg_replace('/<p[^>]*>(&nbsp;|\s)*<\/p>/i', '', $mail_content);
$mail_content = $header_of_mail .
'<div align="center">
<table width="100%" border="0" cellspacing="0" cellpadding="0"
@ -906,6 +910,7 @@ class sendMailNotification
$header_of_mail = view('notification_mail_header', $params);
$footer_of_mail = view('notification_mail_footer', $params);
$mail_content = preg_replace('/<p[^>]*>(&nbsp;|\s)*<\/p>/i', '', $mail_content);
$mail_content = $header_of_mail .
'<div align="center">
<table width="100%" border="0" cellspacing="0" cellpadding="0"
@ -1221,6 +1226,7 @@ class sendMailNotification
// foreach ($mail_array as $key => $value) {
// $header_of_mail = view('notification_mail_header', $params);
// $footer_of_mail = view('notification_mail_footer', $params);
// $mail_content = preg_replace('/<p[^>]*>(&nbsp;|\s)*<\/p>/i', '', $mail_content);
// $mail_content = $header_of_mail .
// '<div align="center">
// <table width="100%" border="0" cellspacing="0" cellpadding="0"
@ -1248,7 +1254,7 @@ class sendMailNotification
{
$wholeData =[];
if ($action == 'member_welcome_mail') {
if ($action == 'member_welcome_mail'){
$clientModel = new ClientModel();
@ -1296,6 +1302,7 @@ class sendMailNotification
$header_of_mail = view('notification_mail_header', $params);
$footer_of_mail = view('notification_mail_footer', $params);
$mail_content = preg_replace('/<p[^>]*>(&nbsp;|\s)*<\/p>/i', '', $mail_content);
$mail_content = $header_of_mail .
'<div align="center">
<table width="100%" border="0" cellspacing="0" cellpadding="0"
@ -1343,6 +1350,7 @@ class sendMailNotification
if (isset($mail) && !empty($mail)) {
$header_of_mail = view('notification_mail_header', $params);
$footer_of_mail = view('notification_mail_footer', $params);
$mail_content = preg_replace('/<p[^>]*>(&nbsp;|\s)*<\/p>/i', '', $mail_content);
$mail_content = $header_of_mail .
'<div align="center">
<table width="100%" border="0" cellspacing="0" cellpadding="0"
@ -1411,6 +1419,7 @@ class sendMailNotification
$header_of_mail = view('notification_mail_header', $params);
$footer_of_mail = view('notification_mail_footer', $params);
$mail_content = preg_replace('/<p[^>]*>(&nbsp;|\s)*<\/p>/i', '', $mail_content);
$mail_content = $header_of_mail .
'<div align="center">
<table width="100%" border="0" cellspacing="0" cellpadding="0"
@ -1578,6 +1587,7 @@ class sendMailNotification
$header_of_mail = view('notification_mail_header', $params);
$footer_of_mail = view('notification_mail_footer', $params);
$mail_content = preg_replace('/<p[^>]*>(&nbsp;|\s)*<\/p>/i', '', $mail_content);
$mail_content = $header_of_mail .
'<div align="center">
<table width="100%" border="0" cellspacing="0" cellpadding="0"
@ -1742,6 +1752,7 @@ class sendMailNotification
$header_of_mail = view('notification_mail_header', $params);
$footer_of_mail = view('notification_mail_footer', $params);
$mail_content = preg_replace('/<p[^>]*>(&nbsp;|\s)*<\/p>/i', '', $mail_content);
$mail_content = $header_of_mail .
'<div align="center">
<table width="100%" border="0" cellspacing="0" cellpadding="0"
@ -1907,6 +1918,7 @@ class sendMailNotification
$header_of_mail = view('notification_mail_header', $params);
$footer_of_mail = view('notification_mail_footer', $params);
$mail_content = preg_replace('/<p[^>]*>(&nbsp;|\s)*<\/p>/i', '', $mail_content);
$mail_content = $header_of_mail .
'<div align="center">
<table width="100%" border="0" cellspacing="0" cellpadding="0"

View File

@ -10,11 +10,11 @@
<body>
<div align="center">
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="max-width:500px; background:#ffffff; border-bottom:1px solid #00999E;">
<tr style="height:80px; background-color: #ffffff;">
<tr style="height:90px; background-color: #ffffff;">
<td align="left" valign="middle" style="padding:20px;" width="50%">
<img src="<?= base_url('/public/uploads/logo/'.$client_data['client_logo']); ?>"
alt="Client Logo"
style="max-height:60px; max-width: 160px;">
style="max-height:80px; max-width: 160px;">
</td>
<td align="right" valign="middle" style="padding:20px;" width="50%">
<img src="<?= base_url('/public/assets/images/Nhance-Logo-Final.png'); ?>"