Issues Fixes : ps

This commit is contained in:
VE10-Sanjeev 2023-12-06 11:03:47 +05:30
parent ae00cb6e76
commit d3710f034f
2 changed files with 4 additions and 4 deletions

View File

@ -357,7 +357,7 @@ class Customer extends BaseController
$result = $model->where($where)->findAll(); $result = $model->where($where)->findAll();
$db = \Config\Database::connect(); $db = \Config\Database::connect();
$sql = (string)$result[0]['group_query']; $sql = (string)$result[0]['group_query'];
print_r($sql);die; //print_r($sql);die;
if($sql){ if($sql){
$query = $db->query($sql); $query = $db->query($sql);
$results = $query->getResultArray(); $results = $query->getResultArray();

View File

@ -129,8 +129,8 @@ class Notifications extends BaseController
$params->number = (int)'91' . $recipient_mobile; $params->number = (int)'91' . $recipient_mobile;
$params->type = "text"; $params->type = "text";
$params->message = $template; $params->message = $template;
$params->instance_id = WAAI_INSTANCE; $params->instance_id = $_ENV['WAAI_INSTANCE'];
$params->access_token = WAAI_TOKEN; $params->access_token = $_ENV['WAAI_TOKEN'];
$this->logger->info("Notification : Duedate notification Email Request data = ".json_encode($records)); $this->logger->info("Notification : Duedate notification Email Request data = ".json_encode($records));
$email_result = $notification->sendEmail($records); $email_result = $notification->sendEmail($records);