Commit 91da8b6a by Jansa Jose

temp

parent 43fc8d0b
......@@ -3301,8 +3301,7 @@ class Webservice_model extends CI_Model {
if($doctor_wallet){
$future_earn = decrypt_data($doctor_wallet->future_earn) - $earn;
$total = decrypt_data($doctor_wallet->total_earn) - $earn;
$this->db->update('tbl_wallet_details',array('future_earn'=>encrypt_data($future_earn),'total_earn'=>encrypt_data($tot
al)),array('doctor_id'=>$id));
$this->db->update('tbl_wallet_details',array('future_earn'=>encrypt_data($future_earn),'total_earn'=>encrypt_data($total)),array('doctor_id'=>$id));
}
}
$result = array('status'=>'success');
......
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