Commit 7ae50159 by Jansa Jose

upcm

parent 55ca0ee7
......@@ -2017,15 +2017,15 @@ class Webservice_model extends CI_Model {
$this->db->where("tbl_booking.id",$id);
//$this->db->where("tbl_booking.date >= '".$date."'");
$result = $this->db->get()->row();
echo"<pre>";print_r($result);echo"<br>";
foreach ($result as $key => $value) {
$result[$key]->street_address = decrypt_data($value->street_address);
$result[$key]->locality = decrypt_data($value->locality);
$result[$key]->number = decrypt_data($value->number);
$result[$key]->complement = decrypt_data($value->complement);
$result[$key]->consultation_fee = decrypt_data($value->consultation_fee);
//$result[$key]->consultation_fee = decrypt_data($value->consultation_fee);
}
echo"<pre>";print_r($result);exit();
$this->db->where('doctor_id',$result->doctor_id);
$this->db->where('clinic_id',$result->clinic_id);
$clinic_details = $this->db->get('tbl_consultation')->row();
......
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