-
-
- {{ 'Birthdate'|trans|upper }} :
-
- {% if person.birthdate == null %}
- {{ 'Unknown date of birth'|trans }}
- {% else %}
- {{ person.birthdate|format_date('short') }}
+
-
- {%- if chill_person.fields.nationality == 'visible' -%}
-
-
- {{ 'Nationality'|trans|upper}} :
-
- {% if person.nationality is not null %}
- {{ person.nationality.name|localize_translatable_string }}
- {% else %}
- {% trans %}Without nationality{% endtrans %}
+ {% if person.mobilenumber %}
+
+
+
+ {{ person.mobilenumber|chill_format_phonenumber }}
+
+ {% endif %}
+ {% if person.email %}
+
+
+
+ {{ person.email }}
+
+
{% endif %}
-
- {%- endif -%}
- {%- if chill_person.fields.spoken_languages == 'visible' -%}
-
-
- {{ 'Center'|trans|upper}} :
-
- {{ person.center.name|upper }}
+ {%- if person.currentHouseholdAddress is not empty -%}
+ {% set address = person.currentHouseholdAddress %}
+ {%- elseif person.lastAddress is not empty -%}
+ {% set address = person.lastAddress %}
+ {%- endif -%}
+ {%- if address -%}
+
+ {{ address|chill_entity_render_box({
+ 'render': 'inline', 'multiline': false, 'with_picto': true, 'with_delimiter': true
+ }) }}
+
+ {%- endif -%}
- {%- endif -%}
diff --git a/src/Bundle/ChillPersonBundle/Resources/views/Person/banner_custom.html.twig b/src/Bundle/ChillPersonBundle/Resources/views/Person/banner_custom.html.twig
new file mode 100644
index 000000000..d61762a16
--- /dev/null
+++ b/src/Bundle/ChillPersonBundle/Resources/views/Person/banner_custom.html.twig
@@ -0,0 +1,27 @@
+{#
+ Overwrite this file to display client specific datas in custom area
+#}
+
+
+ {%- if chill_person.fields.nationality == 'visible' -%}
+
+ {{ 'Nationality'|trans|upper}} :
+
+ {% if person.nationality is not null %}
+ {{ person.nationality.name|localize_translatable_string }}
+ {% else %}
+
+ {% trans %}Without nationality{% endtrans %}
+
+ {% endif %}
+ {%- endif -%}
+
+
+ {%- if chill_person.fields.spoken_languages == 'visible' -%}
+
+ {{ 'Center'|trans|upper}} :
+
+ {{ person.center.name|upper }}
+ {%- endif -%}
+
+