diff --git a/Apollo/api/application/controllers/Broadcast_Controller.php b/Apollo/api/application/controllers/Broadcast_Controller.php index ed246ae6..1273a32a 100755 --- a/Apollo/api/application/controllers/Broadcast_Controller.php +++ b/Apollo/api/application/controllers/Broadcast_Controller.php @@ -91,7 +91,7 @@ class Broadcast_Controller extends REST_Controller { public function getSMSGroupDetails_post() { $reqData = $this->post('data'); - $reqDataBy = $this->post('localReqDetails'); + $reqDataBy = $this->post('requestDetails'); $getMegDetails = $this->broadcast_model->getSMSGroupDetails($reqData, $reqDataBy); // Check if the employee exist if ($getMegDetails) { $getMegDetails['status'] = REST_Controller::HTTP_OK; diff --git a/Apollo/api/application/models/Broadcast_model.php b/Apollo/api/application/models/Broadcast_model.php index 4354fa04..16a69408 100755 --- a/Apollo/api/application/models/Broadcast_model.php +++ b/Apollo/api/application/models/Broadcast_model.php @@ -124,6 +124,8 @@ class Broadcast_model extends CI_Model { $querys = "SELECT t1.*, t2.DeliveredStatus, t2.DeliveredOn FROM T_BroadcastStatus as t1 LEFT JOIN T_BroadcastDeliveryCron as t2 ON t2.MsgId = t1.MsgId WHERE t1.MsgGroup = '$reqData' AND t1.BranchCode='$localBranch' ORDER BY t1.CreatedOn DESC"; + // echo $querys;exit(); + $smsSendGroupDetails = $this->db->query($querys); $smsSendGroupDetailsList = $smsSendGroupDetails->result(); $results['smsSendGroupDetailsListStatus'] = true; diff --git a/Apollo/assets/views/sendSMS/sendSMSsuperadmin.html b/Apollo/assets/views/sendSMS/sendSMSsuperadmin.html index c8b0f411..ad21168c 100755 --- a/Apollo/assets/views/sendSMS/sendSMSsuperadmin.html +++ b/Apollo/assets/views/sendSMS/sendSMSsuperadmin.html @@ -308,17 +308,29 @@