Commit 83e6dc6b by Jansa Jose

booking oreder

parent 06d4a4ee
...@@ -4006,7 +4006,7 @@ CASE when tbl_doctors.gender='0' then 'MALE' when tbl_doctors.gender='1' then 'F ...@@ -4006,7 +4006,7 @@ CASE when tbl_doctors.gender='0' then 'MALE' when tbl_doctors.gender='1' then 'F
} }
public function check_wait_listed($data){ public function check_wait_listed($data){
$check = $this->db->get_where('tbl_booking',array('doctor_id'=>$data['doctor_id'],'clinic_id'=>$data['clinic_id'],'date'=>$data['date'],'time'=>$data['time'])); $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'));
if($check->num_rows() > 0){ if($check->num_rows() > 0){
$is_booking = true; $is_booking = true;
}else{ }else{
......
...@@ -1146,7 +1146,6 @@ public function save_medicalrecord_finaldata() ...@@ -1146,7 +1146,6 @@ public function save_medicalrecord_finaldata()
exit(); exit();
} }
} }
} }
......
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