{% load combo %} {% if json %}

{{ json.title|default:"" }} {{ json.first_name }} {{ json.last_name|upper }}

{% endif %} {% if not json and not fiche %}

Ce senior n'existe pas.

{% endif %} {% if not json and fiche %}

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.

{% endif %} {% if fiche.fields.archive %}

Le senior est archivé.

{% endif %} {% if json and json.birthdate and json.birthdate|age_in_years|decimal < 55 %}

Le senior a moins de 55 ans ({{ json.birthdate|date:"d/m/Y" }} soit {{ json.birthdate|age_in_years }} ans).

{% endif %} {% if fiche.fields.adresse_erreur %}

L'adresse est en erreur.

{% endif %} {% if json and not fiche %}

Le senior dispose d'un compte. Il est désormais nécessaire de créer sa fiche pour l'inscrire à des activités : créer la fiche du senior

{% endif %} {% if fiche %}

Le senior est inscrit à {{ fiche.fields.lieu_inscription }}. {% if not fiche.fields.archive %}Modifier{% endif %}

{% if not fiche.fields.archive %}Fiche à imprimer{% endif %} {% if fiche.fields.fiche_senior_signee %}- Fiche signée{% endif %} {% if not fiche.fields.archive %}- {% if fiche.fields.fiche_senior_signee %}Modifier la fiche signée{% else %}Déposer la fiche signée{% endif %}{% endif %}

{% endif %}
{% if json %}

{% if json.title %}{% endif %} {% if json.nom_de_naissance %}{% endif %} {% if json.birthdate %}{% endif %} {% if json.lieu_de_naissance %}{% endif %}
État-civil{% if not fiche.fields.archive %}Modifier{% endif %}
Civilité{{ json.title }}
Prénom{{ json.first_name }}
Nom{{ json.last_name|upper }}
Nom de naissance{{ json.nom_de_naissance }}
Date de naissance{{ json.birthdate|date:"d/m/Y" }} ({{ json.birthdate|age_in_years }} ans)
Lieu de naissance{{ json.lieu_de_naissance }}

{% if json.address %}{% endif %} {% if json.complement_d_adresse %}{% endif %} {% if json.zipcode %}{% endif %} {% if json.city %}{% endif %}
Adresse{% if fiche.fields.adresse_erreur %} (En erreur){% endif%}{% if not fiche.fields.archive %}Modifier {% if fiche.fields.adresse_erreur %}Marquer l'adresse correcte{% else %}Marquer l'adresse en erreur{% endif %}{% endif %}
Adresse{% if json.numero_sur_la_voie %}{{ json.numero_sur_la_voie|upper }} {% endif %}{{ json.address|upper }}
Complément d'adresse{{ json.complement_d_adresse|upper }}
Code postal{{ json.zipcode }}
Ville{{ json.city|upper }}

{% if json.phone %}{% endif %} {% if json.mobile %}{% endif %} {% if json.email %}{% endif %}
Téléphones / Email{% if not fiche.fields.archive %}Modifier{% endif %}
Téléphone fixe{{ json.phone|phonenumber_fr }}
Téléphone mobile{{ json.mobile|phonenumber_fr }}
Adresse email{{ json.email }}

{% endif %}
{% if fiche %}

{% if conjoint %} {% endif %}
Conjoint{% if json %}{% if not fiche.fields.archive %}Modifier{% endif %}{% endif %}
Senior{{ conjoint.text }}

{% if fiche.fields.pc_nom_prenom or fiche.fields.pc_telephone or fiche.fields.pc_lien %} {% endif %}
Personne à contacter{% if json %}{% if not fiche.fields.archive %}Modifier{% endif %}{% endif %}
Nom et prénom{{fiche.fields.pc_nom_prenom|default:""}}
Lien{{fiche.fields.pc_lien|default:""}}
Téléphone{{fiche.fields.pc_telephone|phonenumber_fr|default:""}}

Documents{% if json %}{% if not fiche.fields.archive %}Modifier{% endif %}{% endif %}
RIB{% if fiche.fields.rib %}RIB du senior{% else %}Pas de RIB{% endif %}
Certificat médical{% if fiche.fields.cm %}Certificat - {{ fiche.fields.annee_cm }}{% else %}Pas de certificat{% endif %}

Autres renseignements{% if json %}{% if not fiche.fields.archive %}Modifier{% endif %}{% endif %}
PMR / Personne à Mobilité Réduite{% if fiche.fields.pmr %}Oui {% if fiche.fields.accompagnant %}avec{% else %}sans{% endif %} accompagnant{% else %}Non{% endif %}
Centres d'intérêt{{fiche.fields.ci|default:"Aucun centre d'intérêt"}}
Accepte d'être photographié pendant les activités ?{{ fiche.fields.okphoto }}
Canaux de contact{{ fiche.fields.canaux_contact|default:"Aucun" }}
Envoyer les courriers (dont brochure) ?{% if fiche.fields.non_envoi_brochure %}Non, car envoi au conjoint.{% else %}Oui{% endif %}

Mémo{% if json %}{% if not fiche.fields.archive %}Modifier{% endif %}{% endif %}
Mémo{% if fiche.fields.memo %}{{fiche.fields.memo|linebreaks}}{% else %}Pas de mémo.{% endif %}

{% endif %}