FIX_Status check
This commit is contained in:
parent
aa28271f74
commit
886884c4fb
@ -622,10 +622,10 @@ class Notifications extends BaseController
|
|||||||
$this->logger->error('There is no subcription Name');
|
$this->logger->error('There is no subcription Name');
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
echo ($inx+1).") #".$customerId." - Person Name : ".$fullName." ----- ( Expiry on ". date('d-m-Y', strtotime($expirydate)).") <br>";
|
||||||
if ($status === 'Approved') {
|
if ($status === 'Approved') {
|
||||||
# EXPIRY NOTIFY TEMPLATE EMAIL
|
# EXPIRY NOTIFY TEMPLATE EMAIL
|
||||||
$emailTemplateName = $NotificationModel->getTempName('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'])){
|
if(empty($row['email'])){
|
||||||
echo ($inx+1).") Email Not Available <br>";
|
echo ($inx+1).") Email Not Available <br>";
|
||||||
continue;
|
continue;
|
||||||
@ -735,6 +735,7 @@ class Notifications extends BaseController
|
|||||||
|
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
|
echo ($inx+1).") Staus = ".$status." <br>";
|
||||||
$this->logger->error("status is Draft");
|
$this->logger->error("status is Draft");
|
||||||
}
|
}
|
||||||
# EXPIRY NOTIFY TEMPLATE EMAIL Closed
|
# EXPIRY NOTIFY TEMPLATE EMAIL Closed
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user