mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 23:23:51 +00:00
person: add altnames in the person creation modal
This commit is contained in:
@@ -91,7 +91,10 @@ class PersonApiController extends ApiController
|
||||
{
|
||||
|
||||
//TODO get alt_name config from chill person
|
||||
$configAltNames = ["key" => "jeune_fille", "labels" => ["fr" => "Nom de naisssance" ]]; //TODO fake data
|
||||
$configAltNames = [
|
||||
["key" => "jeune_fille", "labels" => ["fr" => "Nom de naissance" ]],
|
||||
["key" => "surnom", "labels" => ["fr" => "Surnom" ]]
|
||||
]; //TODO fake data
|
||||
|
||||
return $this->json($configAltNames, Response::HTTP_OK, [], ['groups' => ['read']]);
|
||||
}
|
||||
|
Reference in New Issue
Block a user