Commit 0bf5c628 by Jansa Jose

docor availability

parent ac9f09be
......@@ -1266,7 +1266,7 @@ CASE when tbl_registration.gender='0' then 'MALE' when tbl_registration.gender='
$promo_name = '';
}
$check = $this->db->get_where('tbl_booking',array('doctor_id'=>$data['doctor_id'],'clinic_id'=>$data['clinic_id'],'date'=>$data['date'],'time'=>$data['time'],'payment_status'=>'1',('booking_status'=>'1' or 'booking_status' = '2')));
$check = $this->db->get_where('tbl_booking',array('doctor_id'=>$data['doctor_id'],'clinic_id'=>$data['clinic_id'],'date'=>$data['date'],'time'=>$data['time'],'payment_status'=>'1',('booking_status'=>'1' or 'booking_status' => '2')));
echo $this->db->last_query();exit();
$this->db->select('name,profile_pic,specialization');
$doctr_data = $this->db->get_where('tbl_doctors',array('id'=>$data['doctor_id']))->row_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