Commit e3780895 by Jansa Jose

dr profile

parent 7c6794db
......@@ -1099,9 +1099,11 @@ CASE when tbl_registration.gender='0' then 'MALE' when tbl_registration.gender='
unset($query['pt_gender']);
$query['rg'] = decrypt_data($query['rg']);
$query['crm'] = decrypt_data($query['crm']);
$query['street_address'] = decrypt_data($query['street_address']);
$query['locality'] = decrypt_data($query['locality']);
$query['number'] = decrypt_data($query['number']);
if($data['clinic_id'] == '0'){
$query['street_address'] = decrypt_data($query['location_name']);
$query['locality'] = decrypt_data($query['location_locality']);
$query['number'] = decrypt_data($query['location_number']);
}
if(isset($data['promocode_id']) && strlen(trim($data['promocode_id']," ")) > 0){
$promo = $this->db->get_where('tbl_promocode',array('id'=>$data['promocode_id']))->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