kids list

This commit is contained in:
CHIEFSOFT\ameye
2024-07-23 09:01:45 -04:00
parent 579ac4402e
commit 6f8f050950
2 changed files with 18 additions and 0 deletions
+14
View File
@@ -291,6 +291,20 @@ class ResultFormatter extends Model
);
}
break;
case WRENCHBOARD_RELATIVES_SETTINGS:
$total = $out["total_kid"];
$res = array(
"status" => $out["status"],
"internal_return" => $out["internal_return"],
"kids_list" => array(),
);
for ($i = 0; $i < $total; $i++) {
$key = sprintf("%05d", $i);
$res["kids_list"][] = array(
"family_uid" => $out["family_uid_${key}"]
);
}
break;
case WRENCHBOARD_FAMILY_SAMPLETASKS:
$total = $out["total_record"];
$res = array(