country list
This commit is contained in:
@@ -300,6 +300,29 @@ class ResultFormatter extends Model
|
||||
|
||||
break;
|
||||
|
||||
case WRENCHBOARD_ACCOUNT_USER_RECIPEINT:
|
||||
|
||||
$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(
|
||||
"recipient" => $out["recipient_${key}"],
|
||||
"account_no" => $out["account_no_${key}"],
|
||||
"recipient_id" => $out["id_${key}"],
|
||||
"recipient_uid" => $out["uid_${key}"],
|
||||
"country" => $out["country_${key}"],
|
||||
"added" => $out["added_${key}"]
|
||||
);
|
||||
}
|
||||
|
||||
break;
|
||||
|
||||
case WRENCHBOARD_ACCOUNT_WALLETS:
|
||||
$total = $out["total_record"];
|
||||
$res = array(
|
||||
|
||||
Reference in New Issue
Block a user