Commit e2df105e by Jansa Jose

Temp

parent 648edcc4
......@@ -530,9 +530,9 @@ function get_distinct_exams()
$this->db->select("CAST(AES_DECRYPT(`exam_procedure`,'Ptf/PWNWrULQT72syxfaaBRTS9JbiKrj9dfuVEvT3rA') as CHAR) as exam_name,
id as exam_id");
$this->db->from('tbl_exams');
$this->db->group_by("CAST(AES_DECRYPT(`exam_procedure`,'Ptf/PWNWrULQT72syxfaaBRTS9JbiKrj9dfuVEvT3rA') as CHAR)");
$this->db->group_by('exam_procedure');
$query = $this->db->get();
print_r($query->result_array());exit();
//print_r($query->result_array());exit();
return $query->result_array();
}
......
......@@ -416,6 +416,7 @@
$this->db->select("CAST(AES_DECRYPT(`dob`,'Ptf/PWNWrULQT72syxfaaBRTS9JbiKrj9dfuVEvT3rA') as CHAR) as dob");
$this->db->where('id',$patient_data['id']);
$query_date = $this->db->get('tbl_registration')->row();
//print_r($query_date);exit();
unset($patient_data['dob']);
$patient_data['dob'] = $query_date->dob;
......
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