Commit a04f1feb by Jansa Jose

decrypt bnk field

parent 3a71e471
......@@ -3296,6 +3296,8 @@ class Webservice_model extends CI_Model {
if($this->db->insert('tbl_bank_accounts',$data)){
$last_id = $this->db->insert_id();
$query = $this->db->get_where('tbl_bank_accounts',array('id'=>$last_id))->row();
$query->account_no = decrypt_data($query->account_no);
$query->account_holder = decrypt_data($query->account_holder);
$result = array('status'=>'success','data'=>$query);
}else{
$result = array('status'=>'failed');
......
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