Commit 2bc648ba by Jansa Jose

get booking detils

parent b98363ba
...@@ -1073,6 +1073,7 @@ function booking_ride_details($request){ ...@@ -1073,6 +1073,7 @@ function booking_ride_details($request){
$this->db->limit($start,$stop); $this->db->limit($start,$stop);
$this->db->order_by("booking.booking_date","desc"); $this->db->order_by("booking.booking_date","desc");
$this->db->order_by("booking.id","desc"); $this->db->order_by("booking.id","desc");
$this->db->group_by("ride.id");
$this->db->where('ride.departure_date>=',$date ); $this->db->where('ride.departure_date>=',$date );
$this->db->where('(booking.status!= 2 and booking.status!= 3 and booking.status!= 4 and booking.status!= 5)'); $this->db->where('(booking.status!= 2 and booking.status!= 3 and booking.status!= 4 and booking.status!= 5)');
$this->db->where('booking.user_id',$request['user_id']); $this->db->where('booking.user_id',$request['user_id']);
......
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