Commit 1a2f4f90 by Jansa Jose

Merge branch 'jansa'

parents e042ba96 b23d1d0c
...@@ -210,8 +210,8 @@ public function cancelBooking() ...@@ -210,8 +210,8 @@ public function cancelBooking()
//$nextday = strtotime(date('Y-m-d', strtotime('+1 day', $booking_details['book_date']))); //$nextday = strtotime(date('Y-m-d', strtotime('+1 day', $booking_details['book_date'])));
//$next_day_consult = $this->db->get_where('tbl_booking',array('doctor_id'=>$booking_details['doc_id'],'clinic_id'=>$booking_details['clinic_id'],'date'=>$nextday,'booking_status'=>'0','time'=>$booking_details['book_time'],'payment_status'=>'1'))->row_array(); //$next_day_consult = $this->db->get_where('tbl_booking',array('doctor_id'=>$booking_details['doc_id'],'clinic_id'=>$booking_details['clinic_id'],'date'=>$nextday,'booking_status'=>'0','time'=>$booking_details['book_time'],'payment_status'=>'1'))->row_array();
$doctor_data_waiting = $this->Doctor_model->get_single_doctor($next_day_consult['doctor_id']); $doctor_data_waiting = $this->Doctor_model->get_single_doctor($next_day_consult[0]['doctor_id']);
$fcm_user = $this->Home_model->get_patient_fcm($next_day_consult['patient_id']); $fcm_user = $this->Home_model->get_patient_fcm($next_day_consult[0]['patient_id']);
if(count($next_day_consult) > 0){ if(count($next_day_consult) > 0){
......
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