Commit 845bfe13 by Jansa Jose

get checkers list

parent 1d8a8c7a
......@@ -278,7 +278,7 @@ class Organizer_model extends CI_Model {
$venueData = $this->db->query($sql);
if(empty($venueData) || empty($venueData = $venueData->result_array())){
$res = array('status'=>0,'message'=>'Ohh No!! Something Went South','code'=>'ER06');
$res =array('status'=>0,'message'=>'Ohh No!! Something Went South','code'=>'ER06');
return $res;
}
......@@ -869,6 +869,8 @@ class Organizer_model extends CI_Model {
return $res;
}
$res = array('status'=>1,'message'=>'Checkers Listed Successfully','data'=>array('data'=>$chkrData,'meta'=>$meta));
}else{
$res = array('status'=>0,'message'=>'No Data Found','code'=>'ER06');
}
} catch (Exception $e){
$res = array('status'=>0,'message'=>'Ohh No!! Something Went South!!','code'=>'ER08');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment