47 lines
2.0 KiB
HTML
47 lines
2.0 KiB
HTML
{% if not json or json.err or not json.data.etatCivil %}
|
||
|
||
<h2>Vos informations sont temporairement indisponibles</h2>
|
||
<div>
|
||
<div class="pk-attention"><p>Vos informations sont temporairement indisponibles. Nous vous prions de nous en excuser et de revenir ultérieurement.</p></div>
|
||
</div>
|
||
|
||
{% else %}
|
||
|
||
<h2>Je suis</h2>
|
||
<div>
|
||
<div class="rsa-cell--datas">
|
||
{% with ec=json.data.etatCivil %}
|
||
<p><strong>{{ ec.genre }} {{ ec.prenom }} {{ ec.nom }}</strong></p>
|
||
<p>né(e) le : <strong>{{ ec.dateNaissance|parse_date }}</strong></p>
|
||
{% endwith %}
|
||
|
||
<p>Numéro CAF ou MSA : <strong>{{ json.data.prestationFamiliale.numeroCafMsa|default:"inconnu" }}</strong></p>
|
||
<p>Référence à rappeler : <strong>{{ json.data.index|default:"inconnu" }}</strong></p>
|
||
|
||
<table class="pk-data-table pk-table-headers pk-table-borders pk-table-zebra">
|
||
<tr>
|
||
<th>Adresse</th>
|
||
<th>Téléphone et/ou Email</th>
|
||
</tr>
|
||
<tr>
|
||
<td>
|
||
{% with adr=json.data.dossier.adresse %}
|
||
<strong>{% if adr.complementDestinataire %}<p>{{ adr.complementDestinataire }}</p>{% endif %}
|
||
<p>{{ adr.numero|default:"" }} {{ adr.lieu.natureLieu|default:"" }} {{ adr.lieu.nom|default:"" }} {{ adr.finLieu|default:"" }}</p>
|
||
{% if adr.complementLieu %}<p> {{adr.complementLieu}}</p>{% endif %}
|
||
<p>{{ adr.codePostal }} {{ adr.lieu.commune.nom }}{% if adr.cedex %}CEDEX {{ adr.cedex }}{% endif %}</p></strong>
|
||
{% endwith %}
|
||
</td>
|
||
<td>
|
||
{% for type, num in json.data.coordonnees.telephone.items %}
|
||
{% if num %}<p>Téléphone {{ type }} : <strong>{{ num|phonenumber_fr|default:"inconnu" }}</strong></p>{% endif %}
|
||
{% endfor %}
|
||
{% if json.data.coordonnees.email %}<p>Email : <strong>{{ json.data.coordonnees.email|default:"inconnue" }}</strong></p>{% endif %}
|
||
</td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
</div>
|
||
|
||
{% endif %}
|