diff --git a/app/Controllers/Notifications.php b/app/Controllers/Notifications.php index 59442d31..a09a7921 100755 --- a/app/Controllers/Notifications.php +++ b/app/Controllers/Notifications.php @@ -383,7 +383,7 @@ class Notifications extends BaseController $ExpCustomerDetail = $NotificationModel->getExpDate(); // Retrieve the stored query if (empty($ExpCustomerDetail)) { - $this->logger->info('There is no query'); + $this->logger->info('No customer group found by the name of EXPIRYDATE'); return; } //Step 3: Replace the placeholder WINDOW_TIME with the user-provided value @@ -399,14 +399,14 @@ class Notifications extends BaseController $notification = new NotificationHelper(); if (empty($queryResult)) { - $this->logger->info("There is no data against customer on given date:{$newDate}"); + $this->logger->info("There is no customer expiring on date:{$newDate}"); return; } foreach ($queryResult as $row) { $templateName = $NotificationModel->getTempName(); if (empty($templateName)) { - $this->logger->info('There is no template found'); + $this->logger->info('There is no template found by the name of EXPIRAY_NOTIFY_TEMPLATE'); return; } $userFirstName = $row['first_name'];