<divclass="warningnotice"><p>Le compte en ligne de ce senior a été supprimé. Il n'est plus possible de modifier sa fiche ni de faire de nouvelle inscription.</p></div>
{% endif %}
{% if fiche.fields.archive %}
<divclass="warningnotice"><p>Le senior est archivé.</p></div>
{% endif %}
{% if json and json.birthdate and json.birthdate|age_in_years|decimal <55%}
<divclass="warningnotice"><p>Le senior a moins de 55 ans ({{ json.birthdate|date:"d/m/Y" }} soit {{ json.birthdate|age_in_years }} ans).</p></div>
{% endif %}
{% if fiche.fields.adresse_erreur %}
<divclass="warningnotice"><p>L'adresse est en erreur.</p></div>
{% endif %}
<!-- Fin Avertissements -->
<!-- User sans fiche, à créer -->
{% if json and not fiche %}
<divclass="infonotice">
<p>Le senior dispose d'un compte. Il est désormais nécessaire de créer sa fiche pour l'inscrire à des activités :
<ahref="{{ eservices_url }}backoffice/data/senior/add/?NameID={{ json.uuid }}&ReturnURL={{ portal_agent_url }}espace-seniors/page-senior/{{ json.uuid }}/">créer la fiche du senior</a></p>
<tr><thstyle="width:30%;">Documents</th><th>{% if json %}{% if not fiche.fields.archive %}<ahref="{{ eservices_url }}backoffice/submission/seniors-mise-a-jour-des-documents/?NameID={{ json.uuid }}&ReturnURL={{ portal_agent_url }}espace-seniors/page-senior/{{ json.uuid }}/"class="pk-button">Modifier</a>{% endif %}{% endif %}</th></tr>
<tr><td>RIB</td><td><strong>{% if fiche.fields.rib %}<ahref="{{ fiche.fields.rib.url }}"target="_blank">RIB du senior</a>{% else %}Pas de RIB{% endif %}</strong></td></tr>
<tr><td>Certificat médical</td><td><strong>{% if fiche.fields.cm %}<ahref="{{ fiche.fields.cm.url }}"target="_blank">Certificat</a> - {{ fiche.fields.annee_cm }}{% else %}Pas de certificat{% endif %}</strong></td></tr>
</table>
</p>
<p><!-- Divers -->
<tableclass="main">
<tr><thstyle="width:30%;">Autres renseignements</th><th>{% if json %}{% if not fiche.fields.archive %}<ahref="{{ eservices_url }}backoffice/submission/seniors-mise-a-jour-des-preferences/?NameID={{ json.uuid }}&ReturnURL={{ portal_agent_url }}espace-seniors/page-senior/{{ json.uuid }}/"class="pk-button">Modifier</a>{% endif %}{% endif %}</th></tr>
<tr><td>PMR / Personne à Mobilité Réduite</td><td><strong>{% if fiche.fields.pmr %}Oui {% if fiche.fields.accompagnant %}avec{% else %}sans{% endif %} accompagnant{% else %}Non{% endif %}</strong></td></tr>
<tr><td>Centres d'intérêt</td><td><strong>{{fiche.fields.ci|default:"Aucun centre d'intérêt"}}</strong></td></tr>
<tr><td>Accepte d'être photographié pendant les activités ?</td><td><strong>{{ fiche.fields.okphoto }}</strong></td></tr>
<tr><td>Canaux de contact</td><td><strong>{{ fiche.fields.canaux_contact|default:"Aucun" }}</strong></td></tr>
{% if conjoint %}
<tr><td>Envoyer les courriers (dont brochure) ?</td><td><strong>{% if fiche.fields.non_envoi_brochure %}Non, car envoi au conjoint.{% else %}Oui{% endif %}</strong></td></tr>
{% endif %}
</table>
</p>
<p><!-- Mémo -->
<tableclass="main">
<tr><thstyle="width:30%;">Mémo</th><th>{% if json %}{% if not fiche.fields.archive %}<ahref="{{ eservices_url }}backoffice/submission/seniors-mise-a-jour-du-memo/?NameID={{ json.uuid }}&ReturnURL={{ portal_agent_url }}espace-seniors/page-senior/{{ json.uuid }}/"class="pk-button">Modifier</a>{% endif %}{% endif %}</th></tr>
<tr><td>Mémo</td><td><strong>{% if fiche.fields.memo %}{{fiche.fields.memo|linebreaks}}{% else %}Pas de mémo.{% endif %}</strong></td></tr>