This commit is contained in:
2022-02-18 19:55:18 -05:00
parent c2d4a49eb2
commit cf2e761c5a
2 changed files with 7 additions and 2 deletions
+4
View File
@@ -269,3 +269,7 @@ define('PAY_MODE_BONUS', 9);
define('APPROVED_BALANCE', 5);
define('DISAPROVE_BALANCE', 3);
define('WRENCHBOARD_USER_SENDMONEY', 11051);
+3 -2
View File
@@ -712,10 +712,10 @@ $data['page_title'] ="Wallet";
//$data = $this->getSessionArray();
if ($_POST) {
// case 'sendmoney':$in["action"] = WRENCHBOARD_USER_SENDMONEY;
//$data = array();
$data['member_id'] = $_SESSION['member_id'];
$data['action'] = WRENCHBOARD_SMONEY_MEMBER;
$data['action'] = WRENCHBOARD_SMONEY_MEMBER;
$data["senderid"] = $_SESSION['member_id'];
$data["InitiatingEntityCode"] = "MBA";
@@ -738,6 +738,7 @@ $data['page_title'] ="Wallet";
$out = array();
$res = $this->backend_model->wrenchboard_api($data, $out);
// print_r($out);
//exit;
$data = $this->getSessionArray(); // you will need this for new balace
$data["fee"] = $out["Fee"];
$data["amount"] = $out["InitiatingAmount"];