From 1d7151e1b9fe77b95f3318bda0f0ded143b9483d Mon Sep 17 00:00:00 2001 From: venba-Inspriron-3558 Date: Fri, 28 Nov 2025 10:20:07 +0530 Subject: [PATCH] FIX_custome css removed in table --- app/Helpers/sendMailNotification.php | 32 ++++++++++++++-------------- app/Views/policy_grid.php | 9 +++++++- 2 files changed, 24 insertions(+), 17 deletions(-) diff --git a/app/Helpers/sendMailNotification.php b/app/Helpers/sendMailNotification.php index fae31ef5..cc46a3cd 100755 --- a/app/Helpers/sendMailNotification.php +++ b/app/Helpers/sendMailNotification.php @@ -381,7 +381,7 @@ class sendMailNotification } $table_content .= $policy_name_for_policy_type . ''; - $table_content .= ''; + $table_content .= '
'; // Add text-align: center to the table head $table_content .= ''; @@ -518,7 +518,7 @@ class sendMailNotification } $table_content .= $policy_name_for_policy_type . ' ( Payable By Employee ) '; - $table_content .= '
'; + $table_content .= '
'; // Add text-align: center to the table head $table_content .= ''; @@ -555,7 +555,7 @@ class sendMailNotification if (count($Addon_list) > 0) { $table_content .= '
'; - $table_content .= '
'; + $table_content .= '
'; // Center align for table header and body $table_content .= ''; @@ -738,7 +738,7 @@ class sendMailNotification } $table_content .= $policy_name_for_policy_type . ''; - $table_content .= '
'; + $table_content .= '
'; // Add text-align: center to the table head $table_content .= ''; @@ -824,7 +824,7 @@ class sendMailNotification } $table_content .= $policy_name_for_policy_type . ' ( Payable By Employee ) '; - $table_content .= '
'; + $table_content .= '
'; // Add text-align: center to the table head $table_content .= ''; @@ -862,7 +862,7 @@ class sendMailNotification if (count($Addon_list) > 0) { $table_content .= '
'; - $table_content .= '
'; + $table_content .= '
'; // Center align for table header and body $table_content .= ''; @@ -1046,7 +1046,7 @@ class sendMailNotification } $table_content .= $policy_name_for_policy_type . ''; - $table_content .= '
'; + $table_content .= '
'; // Add text-align: center to the table head $table_content .= ''; @@ -1132,7 +1132,7 @@ class sendMailNotification } $table_content .= $policy_name_for_policy_type . ' ( Payable By Employee ) '; - $table_content .= '
'; + $table_content .= '
'; // Add text-align: center to the table head $table_content .= ''; @@ -1169,7 +1169,7 @@ class sendMailNotification if (count($Addon_list) > 0) { $table_content .= '
'; - $table_content .= '
'; + $table_content .= '
'; // Center align for table header and body $table_content .= ''; @@ -1502,7 +1502,7 @@ class sendMailNotification // Start table row $table_content .= $policy_name . ''; - $table_content .= '
'; + $table_content .= '
'; $table_content .= ''; $table_content .= ''; $table_content .= ''; @@ -1554,7 +1554,7 @@ class sendMailNotification // Generate summary table for addon if applicable if (count($Addon_list) > 0) { $table_content .= '
'; - $table_content .= '
Name
'; + $table_content .= '
'; $table_content .= ''; $table_content .= ''; @@ -1657,7 +1657,7 @@ class sendMailNotification // Start table row $table_content .= $policy_name . ''; - $table_content .= '
'; + $table_content .= '
'; $table_content .= ''; $table_content .= ''; $table_content .= ''; @@ -1709,7 +1709,7 @@ class sendMailNotification // Generate summary table for addon if applicable if (count($Addon_list) > 0) { $table_content .= '
'; - $table_content .= '
Name
'; + $table_content .= '
'; $table_content .= ''; $table_content .= ''; @@ -1812,7 +1812,7 @@ class sendMailNotification // Start table row $table_content .= $policy_name . ''; - $table_content .= '
'; + $table_content .= '
'; $table_content .= ''; $table_content .= ''; $table_content .= ''; @@ -1865,7 +1865,7 @@ class sendMailNotification if (count($Addon_list) > 0) { $table_content .= '
'; - $table_content .= '
Name
'; + $table_content .= '
'; $table_content .= ''; $table_content .= ''; @@ -1900,7 +1900,7 @@ class sendMailNotification $mail_content = str_replace(["[[member_summary]]", "{{member_summary}}"], $table_content , $mail_content); $mail_content = preg_replace('/]*>( |\s)*<\/p>/i', '', $mail_content); - + $data['params'] = $params;$data['client_logo'] = $client_logo; $data['mail_content'] = $mail_content; $mail_content = view('mail_template', $data); diff --git a/app/Views/policy_grid.php b/app/Views/policy_grid.php index a0dcfa7b..4db9f219 100755 --- a/app/Views/policy_grid.php +++ b/app/Views/policy_grid.php @@ -63,7 +63,7 @@ aria-hidden="true" aria-modal="true" data-backdrop="static" style="padding-right: 15px">