{% load combo %}

Le bénéficiaire

{% with individu=json.data.individu %}

Situation à la date du {% now "j F Y" %}

{% include "combo/json/apa-user-label.html" with individu=individu %}

Date de naissance : {{ individu.dateNaissance|parse_date|date:"j F Y" }}

Adresse : {% with adresse=individu.adresse %} {{ adresse.numeroLieu }} {{ adresse.natureLieu|default:"" }} {{ adresse.nomLieu }} {{ adresse.finLieu|default:"" }}
{% if adresse.complementLieu %}{{ adresse.complementLieu }}
{% endif %} {% if adresse.cedex %}Cedex {{ adresse.cedex }}
{% endif %} {{ adresse.codePostal }} {{ adresse.commune }} {% endwith %}

{{ individu.contact.mail|default:"non renseignée" }}
Téléphone : {{ individu.contact.telephone|default:"non renseigné" }}

{% if individu.tutelles.tutelle %}

Tutelles

{% for tutelle in individu.tutelles.tutelle %}

{% if tutelle.mesure %}{{ tutelle.mesure }}
{% endif %} {{ tutelle.type }} : {{ tutelle.identite }} {% if tutelle.natureAccord %}({{ tutelle.natureAccord }}){% endif %}
{% with adresse=tutelle.adresse %} {{ adresse.numeroLieu }} {{ adresse.natureLieu|default:"" }} {{ adresse.nomLieu }} {{ adresse.finLieu|default:"" }}
{% if adresse.complementLieu %}{{ adresse.complementLieu }}
{% endif %} {% if adresse.cedex %}Cedex {{ adresse.cedex }}
{% endif %} {{ adresse.codePostal }} {{ adresse.commune }} {% endwith %}
{% if tutelle.dateEffet %} Date d'effet : {{ tutelle.dateEffet|parse_date|date:"j F Y" }}
{% endif %} {% if tutelle.dateFin %} Date de fin : {{ tutelle.dateFin|parse_date|date:"j F Y" }}
{% endif %} {% endfor %}

{% endif %} {% endwith %}