This commit is contained in:
2022-03-07 18:34:01 -05:00
parent b9de6b4a98
commit 92af9cdd81
2 changed files with 117 additions and 50 deletions
+5 -2
View File
@@ -836,7 +836,7 @@ class Member extends Users_Controller {
$out = array();
$res = $this->backend_model->wrenchboard_api($data, $out);
// print_r($out);
exit;
// exit;
$data = $this->getSessionArray(); // you will need this for new balace
$data["fee"] = $out["Fee"];
$data["amount"] = $out["InitiatingAmount"];
@@ -873,7 +873,10 @@ class Member extends Users_Controller {
*/
} else {
$pending_sendmoney = $this->session->flashdata('pending_sendmoney');
$data['amount'] = 0;
// var_dump($pending_sendmoney);
if (!isset($pending_sendmoney)){
redirect('member/balance');
}
$data['amount'] = $pending_sendmoney['amount'];
$data['total'] = $pending_sendmoney['total'];
$data['fee'] = $pending_sendmoney['fee'];