From 1c3f6c7c1ea90f8711e1598899412f709da80a90 Mon Sep 17 00:00:00 2001 From: nobohan Date: Mon, 14 Feb 2022 11:12:37 +0100 Subject: [PATCH] AddPersons: allow creation of person or thirdparty depending on allowed types --- CHANGELOG.md | 2 +- .../public/vuejs/OnTheFly/components/Create.vue | 7 +++---- .../public/vuejs/OnTheFly/components/OnTheFly.vue | 12 ++++++++++-- .../Resources/public/vuejs/OnTheFly/i18n.js | 8 ++++++-- .../public/vuejs/_components/AddPersons.vue | 1 + 5 files changed, 21 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d0c8b626c..949ce823e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,7 +11,7 @@ and this project adheres to ## Unreleased * AddPersons: remove ul-li html tags from AddPersons (https://gitlab.com/champs-libres/departement-de-la-vendee/chill/-/issues/419) * [person]: AddPersons: allow creation of person or thirdparty only (no users) (https://gitlab.com/champs-libres/departement-de-la-vendee/chill/-/issues/422) - +* [person]: AddPersons: allow creation of person or thirdparty depending on allowed types (https://gitlab.com/champs-libres/departement-de-la-vendee/chill/-/issues/422) * fix normalisation of accompanying course requestor api (https://gitlab.com/champs-libres/departement-de-la-vendee/chill/-/issues/378) diff --git a/src/Bundle/ChillMainBundle/Resources/public/vuejs/OnTheFly/components/Create.vue b/src/Bundle/ChillMainBundle/Resources/public/vuejs/OnTheFly/components/Create.vue index 24f69a9fe..fcb51a462 100644 --- a/src/Bundle/ChillMainBundle/Resources/public/vuejs/OnTheFly/components/Create.vue +++ b/src/Bundle/ChillMainBundle/Resources/public/vuejs/OnTheFly/components/Create.vue @@ -1,6 +1,6 @@