diff --git a/src/Bundle/ChillPersonBundle/Resources/public/vuejs/AccompanyingCourse/components/PersonsAssociated.vue b/src/Bundle/ChillPersonBundle/Resources/public/vuejs/AccompanyingCourse/components/PersonsAssociated.vue index 37833ef29..4c6757fcd 100644 --- a/src/Bundle/ChillPersonBundle/Resources/public/vuejs/AccompanyingCourse/components/PersonsAssociated.vue +++ b/src/Bundle/ChillPersonBundle/Resources/public/vuejs/AccompanyingCourse/components/PersonsAssociated.vue @@ -30,6 +30,29 @@ +
+ +
+
+ +
+

{{ $t('persons_associated.person_without_household_warning') }}

+
+ + +
+ +
+ + +
+ @@ -65,6 +88,9 @@ export default { }, counter() { return this.currentParticipations.length; + }, + participationWithoutHousehold() { + return this.currentParticipations.filter(p => p.person.current_household_id === null); } }, methods: { @@ -88,3 +114,29 @@ export default { } } + diff --git a/src/Bundle/ChillPersonBundle/Resources/public/vuejs/AccompanyingCourse/js/i18n.js b/src/Bundle/ChillPersonBundle/Resources/public/vuejs/AccompanyingCourse/js/i18n.js index cf685cac3..d7c01a174 100644 --- a/src/Bundle/ChillPersonBundle/Resources/public/vuejs/AccompanyingCourse/js/i18n.js +++ b/src/Bundle/ChillPersonBundle/Resources/public/vuejs/AccompanyingCourse/js/i18n.js @@ -47,7 +47,9 @@ const appMessages = { sure_description: "Une fois confirmé, il ne sera pas possible de faire marche arrière ! La sortie reste cependant consignée dans l'historique du parcours.", ok: "Oui, l'usager quitte le parcours", show_household_number: "Voir le ménage (n° {id})", - show_household: "Voir le ménage" + show_household: "Voir le ménage", + person_without_household_warning: "Certaines personnes n'appartiennent à aucun ménage actuellement. Renseignez leur appartenance à un ménage dès que possible.", + update_household: "Modifier l'appartenance", }, requestor: { title: "Demandeur",