fix
This commit is contained in:
@@ -41,7 +41,8 @@ class Paymnt extends Users_Controller {
|
|||||||
$cd['exp_year'] = $this->input->post('exp_year');
|
$cd['exp_year'] = $this->input->post('exp_year');
|
||||||
$cd['cvc'] = $this->input->post('cvc');
|
$cd['cvc'] = $this->input->post('cvc');
|
||||||
$cd['description']= $this->input->post('description');
|
$cd['description']= $this->input->post('description');
|
||||||
$amount = rand(5555,9999);
|
//$amount = rand(5555,9999);
|
||||||
|
$amount = rand(450,700);
|
||||||
|
|
||||||
$cardTestResult= $this->cardpay_model->verifyCardData($cd);
|
$cardTestResult= $this->cardpay_model->verifyCardData($cd);
|
||||||
|
|
||||||
|
|||||||
@@ -39,7 +39,6 @@ function getAddWithdrawButtons(){
|
|||||||
<div class="card-header border-0 pt-5">
|
<div class="card-header border-0 pt-5">
|
||||||
<h3 class="card-title align-items-start flex-column">
|
<h3 class="card-title align-items-start flex-column">
|
||||||
<span class="card-label fw-bolder fs-3 mb-1">Wallet</span>
|
<span class="card-label fw-bolder fs-3 mb-1">Wallet</span>
|
||||||
<span class="text-muted mt-1 fw-bold fs-7">More than 100 new orders</span>
|
|
||||||
</h3>
|
</h3>
|
||||||
<div class="card-toolbar">
|
<div class="card-toolbar">
|
||||||
<ul class="nav">
|
<ul class="nav">
|
||||||
|
|||||||
@@ -180,6 +180,28 @@ function processOutJson($in, $out) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case WRENCHBOARD_ACCOUNT_WALLETS:
|
||||||
|
$total = $out["total_record"];
|
||||||
|
$res = array(
|
||||||
|
"status" => $out["status"],
|
||||||
|
"total_record" => ($total - 1),
|
||||||
|
"internal_return" => $out["internal_return"],
|
||||||
|
"result_list" => array(),
|
||||||
|
);
|
||||||
|
for ($i = 0; $i < $total; $i++) {
|
||||||
|
$key = sprintf("%05d", $i);
|
||||||
|
$res["result_list"][] = array(
|
||||||
|
"currency" => $out["currency_${key}"],
|
||||||
|
"amount" => $out["amount_${key}"],
|
||||||
|
"symbol" => $out["symbol_${key}"],
|
||||||
|
"description" => $out["description_${key}"],
|
||||||
|
"action_type" => $out["action_type_${key}"],
|
||||||
|
"code" => $out["code_${key}"]
|
||||||
|
);
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
return $out;
|
return $out;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user