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