From fe930ba5e57bd1912808384b9b0ae6ff7ab661e4 Mon Sep 17 00:00:00 2001 From: Dries Vanspauwen Date: Mon, 16 Oct 2023 08:32:23 +0000 Subject: [PATCH 1/2] add sex X to registration --- module/SecretaryBundle/Form/Registration/Add.php | 1 + 1 file changed, 1 insertion(+) diff --git a/module/SecretaryBundle/Form/Registration/Add.php b/module/SecretaryBundle/Form/Registration/Add.php index c32317724a..813ec44c9c 100644 --- a/module/SecretaryBundle/Form/Registration/Add.php +++ b/module/SecretaryBundle/Form/Registration/Add.php @@ -129,6 +129,7 @@ public function init() 'options' => array( 'm' => 'M', 'f' => 'F', + 'x' => 'X', ), ), ), From 38faa7690fdca062f5e51f4bcf2e09e2746b0e6e Mon Sep 17 00:00:00 2001 From: Dries Vanspauwen Date: Mon, 16 Oct 2023 08:41:00 +0000 Subject: [PATCH 2/2] add sex X to cv entry --- module/ApiBundle/Controller/BrController.php | 2 +- module/BrBundle/Entity/Cv/Entry.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/module/ApiBundle/Controller/BrController.php b/module/ApiBundle/Controller/BrController.php index 3def6a1778..db6e7d7679 100644 --- a/module/ApiBundle/Controller/BrController.php +++ b/module/ApiBundle/Controller/BrController.php @@ -300,7 +300,7 @@ public function sendActivationAction() * "first_name": "first name" * "last_name": "last name" * "email": "email" - * "sex": "m/f/null" + * "sex": "m/f/x/null" * "company": "company id" * } */ diff --git a/module/BrBundle/Entity/Cv/Entry.php b/module/BrBundle/Entity/Cv/Entry.php index 5bc5845a72..b90962fe4a 100644 --- a/module/BrBundle/Entity/Cv/Entry.php +++ b/module/BrBundle/Entity/Cv/Entry.php @@ -67,7 +67,7 @@ class Entry private $birthday; /** - * @var string The persons sex ('m' or 'f') + * @var string The persons sex ('m', 'f' or 'x') * * @ORM\Column(type="string", length=1, nullable=true) */