Commit e3668e1f by Jansa Jose

cancel

parent b1c0be5a
...@@ -2512,7 +2512,8 @@ class Webservice extends CI_Controller { ...@@ -2512,7 +2512,8 @@ class Webservice extends CI_Controller {
$doctr_data = $this->db->get_where('tbl_doctors',array('id'=>$next_day_consult[0]['doctor_id']))->row_array(); $doctr_data = $this->db->get_where('tbl_doctors',array('id'=>$next_day_consult[0]['doctor_id']))->row_array();
$special = $this->db->get_where('tbl_specialization',array('id'=>$doctr_data['specialization']))->row(); $special = $this->db->get_where('tbl_specialization',array('id'=>$doctr_data['specialization']))->row();
$conslt_time = date('Y-m-d h:i:s'); $conslt_time = date('Y-m-d h:i:s');
print_r($doctr_data);echo"<br>";
print_r($special);exit();
$msg3 = "Your Wait Listed Appointment on ".date('d.m.Y h:i a',$next_day_consult[0]['time_start'])." can be changed to ".date('d.m.Y h:i a',$booked_data['time_start'])." as the Time Slot is Available Now. Would you like to change the Appointment on Available Slot ?"; $msg3 = "Your Wait Listed Appointment on ".date('d.m.Y h:i a',$next_day_consult[0]['time_start'])." can be changed to ".date('d.m.Y h:i a',$booked_data['time_start'])." as the Time Slot is Available Now. Would you like to change the Appointment on Available Slot ?";
$this->db->insert('tbl_patient_notification',array('patient_id'=>$next_day_consult[0]['patient_id'],'type'=>'4','message'=>$msg3,'time'=>strtotime($conslt_time),'booking_id'=>$next_day_consult[0]['id'],'read_status'=>'0','free_booking_id'=>$value['free_booking_id'])); $this->db->insert('tbl_patient_notification',array('patient_id'=>$next_day_consult[0]['patient_id'],'type'=>'4','message'=>$msg3,'time'=>strtotime($conslt_time),'booking_id'=>$next_day_consult[0]['id'],'read_status'=>'0','free_booking_id'=>$value['free_booking_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