{% extends '@ChillPerson/Household/layout.html.twig' %} {% block title 'household.Household summary'|trans %} {% block content %}

{{ block('title') }}

{{ 'household.Current household members'|trans }}

{% for p in positions %} {%- set members = household.currentMembersByPosition(p) %} {% if members|length > 0 %}

{{ p.label|localize_translatable_string }}

{% if false == p.shareHousehold %}

{{ 'household.Those members does not share address'|trans }}

{% endif %}
{% for m in members %}
{{ m.person|chill_entity_render_box({'addLink': true}) }} {% if m.holder %} {{ 'household.holder'|trans }} {% endif %}
{{ 'Born the date'|trans({ 'gender': m.person.gender, 'birthdate': m.person.birthdate|format_date('long') }) }}
    {% if m.startDate is not empty %}
  • {{ 'Since %date%'|trans({'%date%': m.startDate|format_date('long') }) }}
  • {% endif %} {% if m.endDate is not empty %}
  • {{ 'Until %date%'|trans({'%date%': m.endDate|format_date('long') }) }}
  • {% endif %}
{% endfor %}
{% endif %} {% endfor %} {% endblock %}