From 262bb13b6c5dc722c4d4d752e2381933e0747238 Mon Sep 17 00:00:00 2001 From: Julie Lenaerts Date: Tue, 22 Feb 2022 15:05:43 +0100 Subject: [PATCH] Adding fonction in personrenderbox --- .../Entity/ThirdPartyProfession.php | 4 +-- .../Entity/ThirdPartyRenderBox.vue | 24 ++++++++++++----- .../Normalizer/ThirdPartyNormalizer.php | 27 ++++++++++++++++--- 3 files changed, 44 insertions(+), 11 deletions(-) diff --git a/src/Bundle/ChillThirdPartyBundle/Entity/ThirdPartyProfession.php b/src/Bundle/ChillThirdPartyBundle/Entity/ThirdPartyProfession.php index 1963b34a7..eb852f367 100644 --- a/src/Bundle/ChillThirdPartyBundle/Entity/ThirdPartyProfession.php +++ b/src/Bundle/ChillThirdPartyBundle/Entity/ThirdPartyProfession.php @@ -30,13 +30,13 @@ class ThirdPartyProfession * @ORM\Id * @ORM\GeneratedValue * @ORM\Column(type="integer") - * @Serializer\Groups({"docgen:read"}) + * @Serializer\Groups({"read", "docgen:read"}) */ private ?int $id = null; /** * @ORM\Column(type="json") - * @Serializer\Groups({"docgen:read"}) + * @Serializer\Groups({"read", "docgen:read"}) */ private array $name = []; diff --git a/src/Bundle/ChillThirdPartyBundle/Resources/public/vuejs/_components/Entity/ThirdPartyRenderBox.vue b/src/Bundle/ChillThirdPartyBundle/Resources/public/vuejs/_components/Entity/ThirdPartyRenderBox.vue index d93566de7..6b2ba3218 100644 --- a/src/Bundle/ChillThirdPartyBundle/Resources/public/vuejs/_components/Entity/ThirdPartyRenderBox.vue +++ b/src/Bundle/ChillThirdPartyBundle/Resources/public/vuejs/_components/Entity/ThirdPartyRenderBox.vue @@ -22,8 +22,6 @@ -

{{ thirdparty.profession }}

-

@@ -96,10 +94,8 @@