fix
This commit is contained in:
@@ -269,3 +269,7 @@ define('PAY_MODE_BONUS', 9);
|
|||||||
define('APPROVED_BALANCE', 5);
|
define('APPROVED_BALANCE', 5);
|
||||||
define('DISAPROVE_BALANCE', 3);
|
define('DISAPROVE_BALANCE', 3);
|
||||||
|
|
||||||
|
|
||||||
|
define('WRENCHBOARD_USER_SENDMONEY', 11051);
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -712,10 +712,10 @@ $data['page_title'] ="Wallet";
|
|||||||
|
|
||||||
//$data = $this->getSessionArray();
|
//$data = $this->getSessionArray();
|
||||||
if ($_POST) {
|
if ($_POST) {
|
||||||
|
// case 'sendmoney':$in["action"] = WRENCHBOARD_USER_SENDMONEY;
|
||||||
//$data = array();
|
//$data = array();
|
||||||
$data['member_id'] = $_SESSION['member_id'];
|
$data['member_id'] = $_SESSION['member_id'];
|
||||||
$data['action'] = WRENCHBOARD_SMONEY_MEMBER;
|
$data['action'] = WRENCHBOARD_SMONEY_MEMBER;
|
||||||
$data["senderid"] = $_SESSION['member_id'];
|
$data["senderid"] = $_SESSION['member_id'];
|
||||||
$data["InitiatingEntityCode"] = "MBA";
|
$data["InitiatingEntityCode"] = "MBA";
|
||||||
|
|
||||||
@@ -738,6 +738,7 @@ $data['page_title'] ="Wallet";
|
|||||||
$out = array();
|
$out = array();
|
||||||
$res = $this->backend_model->wrenchboard_api($data, $out);
|
$res = $this->backend_model->wrenchboard_api($data, $out);
|
||||||
// print_r($out);
|
// print_r($out);
|
||||||
|
//exit;
|
||||||
$data = $this->getSessionArray(); // you will need this for new balace
|
$data = $this->getSessionArray(); // you will need this for new balace
|
||||||
$data["fee"] = $out["Fee"];
|
$data["fee"] = $out["Fee"];
|
||||||
$data["amount"] = $out["InitiatingAmount"];
|
$data["amount"] = $out["InitiatingAmount"];
|
||||||
|
|||||||
Reference in New Issue
Block a user