FIX_Status check

This commit is contained in:
VE10-Sanjeev 2024-11-20 05:39:05 +00:00
parent aa28271f74
commit 886884c4fb

View File

@ -622,10 +622,10 @@ class Notifications extends BaseController
$this->logger->error('There is no subcription Name');
continue;
}
echo ($inx+1).") #".$customerId." - Person Name : ".$fullName." ----- ( Expiry on ". date('d-m-Y', strtotime($expirydate)).") <br>";
if ($status === 'Approved') {
# EXPIRY NOTIFY TEMPLATE EMAIL
$emailTemplateName = $NotificationModel->getTempName('EXPIRY NOTIFY TEMPLATE EMAIL');
echo ($inx+1).") #".$customerId." - Person Name : ".$fullName." ----- ( Expiry on ". date('d-m-Y', strtotime($expirydate)).") <br>";
if(empty($row['email'])){
echo ($inx+1).") Email Not Available <br>";
continue;
@ -735,6 +735,7 @@ class Notifications extends BaseController
}
else{
echo ($inx+1).") Staus = ".$status." <br>";
$this->logger->error("status is Draft");
}
# EXPIRY NOTIFY TEMPLATE EMAIL Closed