Commit 28a6ecff by Jansa Jose

get ride status

parent 893ae2b1
......@@ -2453,8 +2453,8 @@ public function get_banners(){
}
public function get_ride_status($data){
$this->db->select('status');
$query = $this->db->get_where('booking',array('id'=>$data['book_id']))->row_array();
$this->db->select('ride_status');
$query = $this->db->get_where('ride',array('id'=>$data['book_id']))->row_array();
if($query){
$res = array('status'=>'success','data'=>$query);
}else{
......
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