Commit be5a2a10 by Jansa Jose

cancel

parent eb7da50e
......@@ -3028,7 +3028,7 @@ class Webservice_model extends CI_Model {
$doctr_data = $this->db->get_where('tbl_doctors',array('id'=>$id))->row_array();
$special = $this->db->get_where('tbl_specialization',array('id'=>$doctr_data['specialization']))->row();
$conslt_time = strtotime(date('Y-m-d h:i:s'));
$msg = "Sorry, Your booking at time ".$data['time']." is cancelled by ".$doctr_data['name'];
$msg = "Sorry, Your booking at time ".$query->time." is cancelled by ".$doctr_data['name'];
if($query){
if($query->doctor_id == $id){
$this->db->update('tbl_booking',array('booking_status'=>'4'),array('id'=>$data['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