From af8be1177436a7b6110d54d9ce36d1c0c3773f70 Mon Sep 17 00:00:00 2001 From: vadivelJ96 Date: Tue, 16 Sep 2025 17:38:04 +0530 Subject: [PATCH] CHANGE_logo_fix_final - VADIVEL J 2025-09-16 --- app/Config/Routes.php | 5 +++++ app/Controllers/NotificationController.php | 1 + app/Helpers/sendMailNotification.php | 1 + app/Views/notification_mail_header.php | 1 + 4 files changed, 8 insertions(+) diff --git a/app/Config/Routes.php b/app/Config/Routes.php index 8258cf1..83145d5 100755 --- a/app/Config/Routes.php +++ b/app/Config/Routes.php @@ -519,5 +519,10 @@ $routes->get("getAddOnPolicy", "EmployeeRestController::getAddOnPolicy"); $routes->post("addEmployeeAndDependence", "EmployeeRestController::addEmployeeAndDependence"); $routes->post("getPreEmployeePolicyCount", "EmployeeRestController::getPreEmployeePolicyCount"); + + +// notification mail template $routes->get('notification_mail_header',"NotificationController::notification_mail_header"); + + diff --git a/app/Controllers/NotificationController.php b/app/Controllers/NotificationController.php index 6812df2..99fe93d 100755 --- a/app/Controllers/NotificationController.php +++ b/app/Controllers/NotificationController.php @@ -280,6 +280,7 @@ class NotificationController extends AdminController } } + // This function for load the mail header in notification mail template public function notification_mail_header(){ $params = []; diff --git a/app/Helpers/sendMailNotification.php b/app/Helpers/sendMailNotification.php index 5624627..403de4a 100755 --- a/app/Helpers/sendMailNotification.php +++ b/app/Helpers/sendMailNotification.php @@ -13,6 +13,7 @@ use App\Models\PolicyPremium2Model; use App\Models\MailAttachmentModel; use Kint\Kint; +// send mail notification class sendMailNotification { public static function sendMailNotification($action, $params) diff --git a/app/Views/notification_mail_header.php b/app/Views/notification_mail_header.php index f2499d7..daec224 100644 --- a/app/Views/notification_mail_header.php +++ b/app/Views/notification_mail_header.php @@ -25,6 +25,7 @@ + \ No newline at end of file