$out[$escrow_key]
This commit is contained in:
@@ -778,6 +778,7 @@ class ResultFormatter extends Model
|
|||||||
);
|
);
|
||||||
for ($i = 0; $i < $total; $i++) {
|
for ($i = 0; $i < $total; $i++) {
|
||||||
$key = sprintf("%05d", $i);
|
$key = sprintf("%05d", $i);
|
||||||
|
$escrow_key = "escrow_".$out["code_${key}"];
|
||||||
$res["result_list"][] = array(
|
$res["result_list"][] = array(
|
||||||
"currency" => $out["currency_${key}"],
|
"currency" => $out["currency_${key}"],
|
||||||
"amount" => $out["amount_${key}"],
|
"amount" => $out["amount_${key}"],
|
||||||
@@ -790,10 +791,11 @@ class ResultFormatter extends Model
|
|||||||
"transfer_limit" => $out["transfer_limit_${key}"],
|
"transfer_limit" => $out["transfer_limit_${key}"],
|
||||||
"processor" => $out["processor_${key}"],
|
"processor" => $out["processor_${key}"],
|
||||||
"wallet_uid" => $out["wallet_uid_${key}"],
|
"wallet_uid" => $out["wallet_uid_${key}"],
|
||||||
|
"escrow" => isset($out[$escrow_key]) ? $out[$escrow_key]: 0 ,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
//escrow_NAIRA
|
||||||
case WRENCHBOARD_FAMILY_TRANSFERHX:
|
case WRENCHBOARD_FAMILY_TRANSFERHX:
|
||||||
$total = $out["total_record"];
|
$total = $out["total_record"];
|
||||||
$res = array(
|
$res = array(
|
||||||
|
|||||||
Reference in New Issue
Block a user