Commit 0cdf9cdd by Jansa Jose

get ride status

parent 3eb9640d
...@@ -2442,7 +2442,7 @@ public function get_banners(){ ...@@ -2442,7 +2442,7 @@ public function get_banners(){
public function get_ride_status($data){ public function get_ride_status($data){
$this->db->select('status'); $this->db->select('status');
return $query = $this->db->get_where('booking',array('ride_id'=>$data['book_id']))->row(); return $query = $this->db->get_where('booking',array('id'=>$data['book_id']))->row();
} }
......
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