{% if not json or json.err or not json.data.etatCivil %}

Vos informations sont temporairement indisponibles

Vos informations sont temporairement indisponibles. Nous vous prions de nous en excuser et de revenir ultérieurement.

{% else %}

Je suis

{% with ec=json.data.etatCivil %}

{{ ec.genre }} {{ ec.prenom }} {{ ec.nom }}

né(e) le : {{ ec.dateNaissance|parse_date }}

{% endwith %}

Numéro CAF ou MSA : {{ json.data.prestationFamiliale.numeroCafMsa|default:"inconnu" }}

Référence à rappeler : {{ json.data.index|default:"inconnu" }}

Adresse Téléphone et/ou Email
{% with adr=json.data.dossier.adresse %} {% if adr.complementDestinataire %}

{{ adr.complementDestinataire }}

{% endif %}

{{ adr.numero|default:"" }} {{ adr.lieu.natureLieu|default:"" }} {{ adr.lieu.nom|default:"" }} {{ adr.finLieu|default:"" }}

{% if adr.complementLieu %}

{{adr.complementLieu}}

{% endif %}

{{ adr.codePostal }} {{ adr.lieu.commune.nom }}{% if adr.cedex %}CEDEX {{ adr.cedex }}{% endif %}

{% endwith %}
{% for type, num in json.data.coordonnees.telephone.items %} {% if num %}

Téléphone {{ type }} : {{ num|phonenumber_fr|default:"inconnu" }}

{% endif %} {% endfor %} {% if json.data.coordonnees.email %}

Email : {{ json.data.coordonnees.email|default:"inconnue" }}

{% endif %}
{% endif %}