From ece30b63c380001a983bc8136d3434b77c75b2ac Mon Sep 17 00:00:00 2001 From: Julie Lenaerts Date: Tue, 1 Feb 2022 15:09:42 +0100 Subject: [PATCH] in process... need to be sure which address to display exactly --- .../views/Person/household_history.html.twig | 14 +++++++++++++- .../translations/messages+intl-icu.fr.yaml | 1 + 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/src/Bundle/ChillPersonBundle/Resources/views/Person/household_history.html.twig b/src/Bundle/ChillPersonBundle/Resources/views/Person/household_history.html.twig index d56fa30b1..6a8f0ee15 100644 --- a/src/Bundle/ChillPersonBundle/Resources/views/Person/household_history.html.twig +++ b/src/Bundle/ChillPersonBundle/Resources/views/Person/household_history.html.twig @@ -32,9 +32,21 @@
+ {% if p.household is same as p.person.getCurrentHousehold %} +
+
+

{{ 'Address'|trans }}

+
+
+ {% for h in p.person.getHouseholdParticipationsNotShareHousehold %} +

{{ h.address }}

+ {% endfor %} +
+
+ {% endif %}
-

En tant que

+

{{ 'As member'|trans }}

{{ p.position.label|localize_translatable_string }} diff --git a/src/Bundle/ChillPersonBundle/translations/messages+intl-icu.fr.yaml b/src/Bundle/ChillPersonBundle/translations/messages+intl-icu.fr.yaml index ecafb367e..aded38b4a 100644 --- a/src/Bundle/ChillPersonBundle/translations/messages+intl-icu.fr.yaml +++ b/src/Bundle/ChillPersonBundle/translations/messages+intl-icu.fr.yaml @@ -98,6 +98,7 @@ household: from: Depuis to: Jusqu'au person history: Ménages + As member: En tant que household_composition: Since: >-