FIX_Notification_issues_fixes
This commit is contained in:
parent
c26f52990b
commit
8a39ba1a54
@ -598,12 +598,12 @@ class Notifications extends BaseController
|
||||
$notification = new NotificationHelper();
|
||||
if (empty($queryResult)) {
|
||||
$this->logger->error("There is no customer expiring on date:{$newDate}");
|
||||
echo " There is no customer expiring. till dated :{$newDate}";
|
||||
return;
|
||||
}
|
||||
|
||||
$emailTemplateName = $NotificationModel->getTempName(EXPIRAY_NOTIFY_TEMPLATE_EMAIL);
|
||||
echo "Started.<br> Dated = ".$newDate." <br> There are ".count($queryResult)." persons <br>";
|
||||
//print_r($queryResult);die();
|
||||
echo "Started.<br> Customer expiring. till dated = ".$newDate." <br> There are ".count($queryResult)." persons <br>";
|
||||
foreach ($queryResult as $inx => $row) {
|
||||
$status = $row['status'];
|
||||
$userFirstName = $row['first_name'];
|
||||
@ -621,7 +621,7 @@ class Notifications extends BaseController
|
||||
if ($status === 'Approved') {
|
||||
# EXPIRAY_NOTIFY_TEMPLATE_EMAIL
|
||||
$emailTemplateName = $NotificationModel->getTempName(EXPIRAY_NOTIFY_TEMPLATE_EMAIL);
|
||||
echo "Person Name :".$fullName." <br>";
|
||||
echo "#".$customerId." - Person Name :".$fullName." <br>";
|
||||
if (count($emailTemplateName) && !empty($emailTemplateName)) {
|
||||
$campaign_id = 1;
|
||||
# Insertion on History Email Means Campaign ID 1 Hardcoded
|
||||
|
||||
Loading…
Reference in New Issue
Block a user