Commit b20909c7 by Jansa Jose

withdrawal1

parent 5671a3cf
...@@ -3446,7 +3446,7 @@ class Webservice_model extends CI_Model { ...@@ -3446,7 +3446,7 @@ class Webservice_model extends CI_Model {
$data['status'] = '0'; $data['status'] = '0';
if($this->db->insert('tbl_withdrawal_history',$data)){ if($this->db->insert('tbl_withdrawal_history',$data)){
$last = $this->db->insert_id(); $last = $this->db->insert_id();
$res = $this->db->get_where('tbl_withdrawal_history',array('id'=>$last)); $res = $this->db->get_where('tbl_withdrawal_history',array('id'=>$last))->row();
$result = array('status'=>'success','data'=>$res); $result = array('status'=>'success','data'=>$res);
}else{ }else{
$result = array('status'=>'failed','message'=>'Something Went Wrong.. Try Again Later !'); $result = array('status'=>'failed','message'=>'Something Went Wrong.. Try Again Later !');
......
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