{% extends 'base_admin.html.twig' %} {% block body %}

Licence de {{ licence.profil.fullName }}

{% if member.user.profil is defined %} {# il est majeur là #}

Informations personnelles

Nom :
{{ licence.profil.lastname }}

Prénom :
{{ licence.profil.firstname }}

Date de naissance :
{{ licence.profil.birthday|date('d/m/Y') }}

Age :
{{ licence.profil.age }} ans

Lieu de naissance :
{{ licence.profil.placeBirth }}

{% else %} {# il est mineur là #}

Informations personnelles

Nom :
{{ licence.profil.lastname }}

Prénom :
{{ licence.profil.firstname }}

Date de naissance :
{{ licence.profil.birthday|date('d/m/Y') }}

Age :
{{ licence.profil.age }} ans

Lieu de naissance :
{{ licence.profil.placeBirth }}

Parents

{% for tutor in parents %}

{{ tutor|relation }}

{{ tutor.user.fullname }}

Tél : {{ tutor.user.phone }}

Mail : {{ tutor.user.email }}

Adresse : {{ tutor.user.address }}, {{ tutor.user.zipCode }} {{ tutor.user.city }}

Profession : {{ tutor.user.job }}

{% if tutor.user.birthday %}

Date de naissance : {{ tutor.user.birthday|date('d/m/Y') }}

{% endif %}
{% endfor %}
{% endif %} {% endblock %}