Commit 35919b40 by Jansa Jose

review

parent d3becb23
......@@ -1917,7 +1917,7 @@ CASE when tbl_doctors.gender='0' then 'MALE' when tbl_doctors.gender='1' then 'F
$this->db->update('tbl_medical_records',array('patient_review'=>encrypt_data($data['review'])),array('id'=>$data['medical_record_id']));
$revw_data = $this->db->get_where('tbl_review',array('booking_id'=>$med_data->booking_id))->row();
$this->db->update('tbl_review',array('review'=>$data['review']),array('booking_id'=>$med_data->booking_id));
$insertid = $revw_data->id;
$insertid = $revw_data->review_id;
}else{
$this->db->update('tbl_medical_records',array('patient_review'=>encrypt_data($data['review'])),array('id'=>$data['medical_record_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