family recip

This commit is contained in:
CHIEFSOFT\ameye
2023-10-30 18:13:18 -04:00
parent 1959c8d7eb
commit 6c55a096b0
2 changed files with 28 additions and 0 deletions
+23
View File
@@ -787,6 +787,29 @@ class ResultFormatter extends Model
}
break;
case WRENCHBOARD_FAMILY_TRANSFERHX:
$total = $out["total_record"];
$res = array(
"status" => $out["status"],
"total_record" => ($total - 0),
"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}"],
"confirmation" => $out["confirmation_${key}"],
"rec_lastname_" => $out["rec_lastname_${key}"],
"rec_firstname" => $out["rec_firstname_${key}"],
"added" => $out["added_${key}"],
"uid" => $out["uid_${key}"],
);
}
break;
default:
return $out;
}