Commit 06d4a4ee by Jansa Jose

booking oreder

parent fced944d
......@@ -1741,6 +1741,7 @@ CASE when tbl_registration.gender='0' then 'MALE' when tbl_registration.gender='
$this->db->join('tbl_doctors','tbl_doctors.id = tbl_booking.doctor_id','INNER');
$this->db->where('tbl_authtoken.authtoken',$authtoken);
$this->db->where('tbl_booking.payment_status','1');
$this->db->order_by('tbl_booking.id');
$query = $this->db->get();
if($query->num_rows() > 0){
$result = array('status'=>'success','data'=>$query->result_array());
......
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