alpes-maritimes-2022: update json cells markup (#73604)

This commit is contained in:
Thomas Jund 2023-01-18 16:33:35 +01:00 committed by Gitea
parent 0647dbc2d5
commit 9ac5c2baaa
21 changed files with 959 additions and 1 deletions

View File

@ -1 +0,0 @@
../../alpes-maritimes-2018/combo/json/

View File

@ -0,0 +1,14 @@
{% load combo %}
{% if json.data %}
{% if json.data.dossier.DEMANDES %}
{% for demande in json.data.dossier.DEMANDES %}
{% if demande.ETAPE == "Décision d'accord" %}
<p><a href="{{ eservices_url}}social/aggravation-revision-apa/?session_var_dossier={{json.data.id}}&cancelurl={{ portal_url }}social">Faire une déclaration daggravation ou une demande de révision</a></p>
{% endif %}
{% endfor %}
{% endif %}
<p><a href="{{ eservices_url}}social/supprimer-un-beneficiaire/?session_var_dossier={{json.data.id}}&cancelurl={{ portal_url }}social">&nbsp;D&eacute;sappairer mon dossier</a></p>
{% endif %}

View File

@ -0,0 +1,70 @@
{% load combo %}
{% if json.data %}
<h2>Dossier Autonomie : {% if json.data.dossier.IDENTIFICATION.0.PRENOM %}{{json.data.dossier.IDENTIFICATION.0.PRENOM}}{% endif %} {% if json.data.dossier.IDENTIFICATION.0.NOM %}{{json.data.dossier.IDENTIFICATION.0.NOM}}{% endif %}</h2>
<div>
{% if json.data.dossier.DEMANDES.AD %}
{% for demande in json.data.dossier.DEMANDES.AD %}
{% if demande.ID_MES == request.GET.demande %}
<h3>{{ demande.TYPE_MESURE }}</h3>
<h4>Progression de la demande</h4>
<div class="social-steps">
<ol>
{% for etape in demande.LISTE_ETAPES %}
<li{% if etape.A_SURLIGNER == "O" %} class="current"{% endif %}>
<span class="marker">
{{ forloop.counter }}
</span>
<span class="label">
{{ etape.CATEGORIE }}
</span>
</li>
{% endfor %}
</ol>
</div>
{% for etape in demande.LISTE_ETAPES %}
{% if etape.A_SURLIGNER == "O" %}
{% for etp in etape.ETP %}
{% if etp.TYP_CHAMP == "L" %}
<p><strong>Étape actuelle</strong> : {{etp.ETAPE}}</p>
<div class="infonotice"><p>{{etp.LIBELLE_CHAMP}}</p></div>
{% endif %}
{% endfor %}
{% if etape.ETP|length > 1 %}
<h3>Informations supplémentaires</h3>
{% for etp in etape.ETP %}
{% if etp.TYP_CHAMP == "D" %}
<p>{{etp.LIBELLE_CHAMP}} : {{etp.VALEUR_CHAMP}}</p>
{% endif %}
{% if etp.TYP_CHAMP == "S" %}
<p>{{etp.LIBELLE_CHAMP}} :
<ul>
{% for e in etp.VALEUR_LIST_CHAMP %}
<li>{{e.LIBELLE}} : {{e.COMMENTAIRE}}</li>
{% endfor %}
</ul>
</p>
{% endif %}
{% if etp.TYP_CHAMP == "M" and etp.VALEUR_MEMO_CHAMP %}
<div class="infonotice">
<p>{{etp.LIBELLE_CHAMP}} :<br /> {{etp.VALEUR_MEMO_CHAMP}}</p>
</div>
{% endif %}
{% endfor %}
{% endif %}
{% endif %}
{% endfor %}
{% endif %}
{% endfor %}
{% endif %}
</div>
{% endif %}

View File

@ -0,0 +1,70 @@
{% load combo %}
{% if json.data %}
<h2>Dossier Handicap : {% if json.data.dossier.IDENTIFICATION.0.PRENOM %}{{json.data.dossier.IDENTIFICATION.0.PRENOM}}{% endif %} {% if json.data.dossier.IDENTIFICATION.0.NOM %}{{json.data.dossier.IDENTIFICATION.0.NOM}}{% endif %}</h2>
<div>
{% if json.data.dossier.DEMANDES.PH %}
{% for demande in json.data.dossier.DEMANDES.PH %}
{% if demande.ID_MES == request.GET.demande %}
<h3>{{ demande.TYPE_MESURE }}</h3>
<h4>Progression de la demande</h4>
<div class="social-steps">
<ol>
{% for etape in demande.LISTE_ETAPES %}
<li{% if etape.A_SURLIGNER == "O" %} class="current"{% endif %}>
<span class="marker">
{{ forloop.counter }}
</span>
<span class="label">
{{ etape.CATEGORIE }}
</span>
</li>
{% endfor %}
</ol>
</div>
{% for etape in demande.LISTE_ETAPES %}
{% if etape.A_SURLIGNER == "O" %}
{% for etp in etape.ETP %}
{% if etp.TYP_CHAMP == "L" %}
<p><strong>Étape actuelle</strong> : {{etp.ETAPE}}</p>
<div class="infonotice"><p>{{etp.LIBELLE_CHAMP}}</p></div>
{% endif %}
{% endfor %}
{% if etape.ETP|length > 1 %}
<h3>Informations supplémentaires</h3>
{% for etp in etape.ETP %}
{% if etp.TYP_CHAMP == "D" %}
<p>{{etp.LIBELLE_CHAMP}} : {{etp.VALEUR_CHAMP}}</p>
{% endif %}
{% if etp.TYP_CHAMP == "S" %}
<p>{{etp.LIBELLE_CHAMP}} :
<ul>
{% for e in etp.VALEUR_LIST_CHAMP %}
{% if e.LIBELLE != e.COMMENTAIRE %}
<li>{{e.LIBELLE}} : {{e.COMMENTAIRE}}</li>
{% endif %}
{% endfor %}
</ul>
</p>
{% endif %}
{% if etp.TYP_CHAMP == "M" and etp.VALEUR_MEMO_CHAMP %}
<div class="infonotice">
<p>{{etp.LIBELLE_CHAMP}} :<br /> {{etp.VALEUR_MEMO_CHAMP}}</p>
</div>
{% endif %}
{% endfor %}
{% endif %}
{% endif %}
{% endfor %}
{% endif %}
{% endfor %}
{% endif %}
</div>
{% endif %}

View File

@ -0,0 +1,205 @@
{% load combo %}
{% if json.data %}
<div>
<h1><strong>{{json.data.dossier.IDENTIFICATION.0.PRENOM}}</strong> <strong>{{json.data.dossier.IDENTIFICATION.0.NOM}}</strong></h1>
</div>
<div class="cell">
<div id="references">
<h2>Vos références</h2>
<div class="cell--body">
<p>
{% if json.data.dossier.IDENTIFICATION.0.REF_UTI_DOS %}Numéro de dossier (REF_UTI_DOS) : <strong>{{json.data.dossier.IDENTIFICATION.0.REF_UTI_DOS}}</strong><br/>{% endif %}
{% if json.data.dossier.IDENTIFICATION.0.IDDOS %}Numéro de dossier (IDDOS) : <strong>{{json.data.dossier.IDENTIFICATION.0.IDDOS}}</strong><br/>{% endif %}
</p>
</div>
</div>
</div>
<div class="cell">
<div id="vous">
<h2>Vous</h2>
<div class="cell--body">
<p>
{% if json.data.dossier.IDENTIFICATION.0.PRENOM %}Prénom : <strong>{{json.data.dossier.IDENTIFICATION.0.PRENOM}}</strong><br/>{% endif %}
{% if json.data.dossier.IDENTIFICATION.0.NOM %}Nom : <strong>{{json.data.dossier.IDENTIFICATION.0.NOM}}</strong><br/>{% endif %}
{% if json.data.dossier.IDENTIFICATION.0.NOM_NAISSANCE %}Nom de naissance : <strong>{{json.data.dossier.IDENTIFICATION.0.NOM_NAISSANCE}}</strong><br/>{% endif %}
{% if json.data.dossier.IDENTIFICATION.0.SEXE %}Sexe : <strong>{{json.data.dossier.IDENTIFICATION.0.SEXE}}</strong><br/>{% endif %}
{% if json.data.dossier.IDENTIFICATION.0.DATE_NAISSANCE %}Date de naissance : <strong>{{json.data.dossier.IDENTIFICATION.0.DATE_NAISSANCE}}</strong><br/>{% endif %}
{% if json.data.dossier.IDENTIFICATION.0.DPT_NAIS %}Département de naissance : <strong>{{json.data.dossier.IDENTIFICATION.0.DPT_NAIS}}</strong><br/>{% endif %}
{% if json.data.dossier.IDENTIFICATION.0.PAYS_NAIS %}Pays de naissance : <strong>{{json.data.dossier.IDENTIFICATION.0.PAYS_NAIS}}</strong><br/>{% endif %}
{% if json.data.dossier.IDENTIFICATION.0.NATIONALITE %}Nationalité : <strong>{{json.data.dossier.IDENTIFICATION.0.NATIONALITE}}</strong><br/>{% endif %}
</p>
</div>
</div>
</div>
<div class="cell">
<div id="coordonnees">
<h2>Vos coordonnées</h2>
<div class="cell--body">
<p>
Adresse :
{% if json.data.dossier.IDENTIFICATION.0.NU_VOIE_ADR %}<strong>{{json.data.dossier.IDENTIFICATION.0.NU_VOIE_ADR}}</strong> {% endif %}
{% if json.data.dossier.IDENTIFICATION.0.LB_COD_BTQ_ADR %}<strong>{{json.data.dossier.IDENTIFICATION.0.LB_COD_BTQ_ADR}}</strong> {% endif %}
{% if json.data.dossier.IDENTIFICATION.0.LB_COD_VOIE_ADR %}<strong>{{json.data.dossier.IDENTIFICATION.0.LB_COD_VOIE_ADR}}</strong> {% endif %}
{% if json.data.dossier.IDENTIFICATION.0.LB_VOIE_ADR %}<strong>{{json.data.dossier.IDENTIFICATION.0.LB_VOIE_ADR}}</strong> {% endif %}
{% if json.data.dossier.IDENTIFICATION.0.CODE_POSTAL %}<strong>{{json.data.dossier.IDENTIFICATION.0.CODE_POSTAL}}</strong> {% endif %}
{% if json.data.dossier.IDENTIFICATION.0.VILLE %}<strong>{{json.data.dossier.IDENTIFICATION.0.VILLE}}</strong> {% endif %}
{% if json.data.dossier.IDENTIFICATION.0.LB_PAY_ADR %}<strong>{{json.data.dossier.IDENTIFICATION.0.LB_PAY_ADR}}</strong> {% endif %}
{% if json.data.dossier.IDENTIFICATION.0.COMPLEMENT_ADRESSE %}<br/>Complément dadresse : <strong>{{json.data.dossier.IDENTIFICATION.0.COMPLEMENT_ADRESSE}}</strong><br/>{% endif %}
{% if json.data.dossier.IDENTIFICATION.0.TEL_FIXE %}Téléphone fixe : <strong>{{json.data.dossier.IDENTIFICATION.0.TEL_FIXE}}</strong><br/>{% endif %}
{% if json.data.dossier.IDENTIFICATION.0.TEL_MOBILE %}Téléphone mobile : <strong>{{json.data.dossier.IDENTIFICATION.0.TEL_MOBILE}}</strong><br/>{% endif %}
{% if json.data.dossier.IDENTIFICATION.0.MAIL %}Adresse de courriel : <strong>{{json.data.dossier.IDENTIFICATION.0.MAIL}}</strong><br/>{% endif %}
</p>
</div>
</div>
</div>
<div class="cell">
<div id="ass">
<h2>Vos informations dassuré social</h2>
<div class="cell--body">
<p>
{% if json.data.dossier.IDENTIFICATION.0.NSS %}Numéro dassuré social : <strong>{{json.data.dossier.IDENTIFICATION.0.NSS}}</strong><br/>{% endif %}
{% if json.data.dossier.IDENTIFICATION.0.CAISSE_RETRAITE %}Caisse de retraite : <strong>{{json.data.dossier.IDENTIFICATION.0.CAISSE_RETRAITE}}</strong><br/>{% endif %}
{% if json.data.dossier.IDENTIFICATION.0.NUM_AFFILIATION %}Numéro daffiliation à la caisse de retraite : <strong>{{json.data.dossier.IDENTIFICATION.0.NUM_AFFILIATION}}</strong><br/>{% endif %}
</p>
</div>
</div>
</div>
<div class="cell">
<div id="situation">
<h2>Votre situation familiale</h2>
<div class="cell--body">
<p>
{% if json.data.dossier.IDENTIFICATION.0.SIT_FAM%}Situation familiale : <strong>{{json.data.dossier.IDENTIFICATION.0.SIT_FAM}}</strong><br/>{% endif %}
</p>
</div>
</div>
</div>
{% if json.data.dossier.IDENTIFICATION.0.CONJOINT %}
<div class="cell">
<div id="conjoint">
<h2>Votre conjoint</h2>
<div class="cell--body">
{% for conjoint in json.data.dossier.IDENTIFICATION.0.CONJOINT%}
<p>
{% if conjoint.PRENOM %}Prénom : <strong>{{conjoint.PRENOM}}</strong><br/>{% endif %}
{% if conjoint.NOM %}Nom : <strong>{{conjoint.NOM}}</strong><br/>{% endif %}
{% if conjoint.NU_VOIE_ADR %}<strong>{{conjoint.NU_VOIE_ADR}}</strong> {% endif %}
{% if conjoint.LB_COD_BTQ_ADR %}<strong>{{conjoint.LB_COD_BTQ_ADR}}</strong> {% endif %}
{% if conjoint.LB_COD_VOIE_ADR %}<strong>{{conjoint.LB_COD_VOIE_ADR}}</strong> {% endif %}
{% if conjoint.LB_VOIE_ADR %}<strong>{{conjoint.LB_VOIE_ADR}}</strong> {% endif %}
{% if conjoint.CODE_POSTAL %}<strong>{{conjoint.CODE_POSTAL}}</strong> {% endif %}
{% if conjoint.VILLE %}<strong>{{conjoint.VILLE}}</strong> {% endif %}
{% if conjoint.LB_PAY_ADR %}<strong>{{conjoint.LB_PAY_ADR}}</strong> {% endif %}
{% if conjoint.COMPLEMENT_ADRESSE %}Complément dadresse : <strong>{{conjoint.COMPLEMENT_ADRESSE}}</strong><br/>{% endif %}
{% if conjoint.TEL_FIXE %}Téléphone fixe : <strong>{{conjoint.TEL_FIXE}}</strong><br/>{% endif %}
{% if conjoint.TEL_MOBILE %}Téléphone mobile : <strong>{{conjoint.TEL_MOBILE}}</strong><br/>{% endif %}
{% if conjoint.MAIL %}Adresse de courriel : <strong>{{conjoint.MAIL}}</strong><br/>{% endif %}
{% if conjoint.NSS %}Numéro dassuré social : <strong>{{conjoint.NSS}}</strong><br/>{% endif %}
{% if conjoint.CAISSE_RETRAITE %}Caisse de retraite : <strong>{{conjoint.CAISSE_RETRAITE}}</strong><br/>{% endif %}
</p>
{% endfor %}
</div>
</div>
</div>
{% endif %}
{% if json.data.dossier.IDENTIFICATION.0.CONTACTS %}
<div class="cell">
<div id="contacts">
<h2>Vos contacts</h2>
<div class="cell--body">
{% for contact in json.data.dossier.IDENTIFICATION.0.CONTACTS %}
<p>
{% if contact.PRENOM %}Prénom : <strong>{{contact.PRENOM}}</strong><br/>{% endif %}
{% if contact.NOM %}Nom : <strong>{{contact.NOM}}</strong><br/>{% endif %}
{% if contact.NU_VOIE_ADR %}<strong>{{contact.NU_VOIE_ADR}}</strong> {% endif %}
{% if contact.LB_COD_BTQ_ADR %}<strong>{{contact.LB_COD_BTQ_ADR}}</strong> {% endif %}
{% if contact.LB_COD_VOIE_ADR %}<strong>{{contact.LB_COD_VOIE_ADR}}</strong> {% endif %}
{% if contact.LB_VOIE_ADR %}<strong>{{contact.LB_VOIE_ADR}}</strong> {% endif %}
{% if contact.CODE_POSTAL %}<strong>{{contact.CODE_POSTAL}}</strong> {% endif %}
{% if contact.VILLE %}<strong>{{contact.VILLE}}</strong> {% endif %}
{% if contact.LB_PAY_ADR %}<strong>{{contact.LB_PAY_ADR}}</strong> {% endif %}
{% if contact.COMPLEMENT_ADRESSE %}Complément dadresse : <strong>{{contact.COMPLEMENT_ADRESSE}}</strong><br/>{% endif %}
{% if contact.TEL_FIXE %}Téléphone fixe : <strong>{{contact.TEL_FIXE}}</strong><br/>{% endif %}
{% if contact.TEL_MOBILE %}Téléphone mobile : <strong>{{contact.TEL_MOBILE}}</strong><br/>{% endif %}
{% if contact.MAIL %}Adresse de courriel : <strong>{{contact.MAIL}}</strong><br/>{% endif %}
{% if contact.RELATION %}Type de relation :
<strong>{% if contact.RELATION == 'TYP_CNT_AID' %}Aidant
{% elif contact.RELATION == 'TYP_CNT_PAR' %}Parent
{% else %}Inconnu
{% endif %}</strong>
<br/>{% endif %}
</p>
{% endfor %}
</div>
</div>
</div>
{% endif %}
{% if json.data.dossier.DEMANDES %}
<div class="cell">
<div id="demandes">
<h2>Vos Demandes</h2>
<div class="cell--body">
{% for demande in json.data.dossier.DEMANDES %}
<h3>{{demande.DT_DMD}} - {{demande.TYPE_MESURE}} - {{demande.ETAPE}}</h3>
<p>
Identifiant de la demande : <strong>{{demande.ID_MES}}</strong><br/>
Type de mesure : <strong>{{demande.TYPE_MESURE}}</strong><br/>
Catégorie : <strong>{{demande.CATEGORIE}}</strong><br/>
Statut actuel : <strong>{{demande.ETAPE}}</strong><br/>
Date de la demande : <strong>{{demande.DT_DMD}}</strong><br/>
</p>
<ul>
{% for etape in demande.LISTE_ETAPES %}
{% if etape.ETP %}
<li>{{etape.CATEGORIE}} : <strong>{{etape.LB_ETP}}</strong><br/>
<ul>
{% for et in etape.ETP %}
<li>{{et.LIBELLE_CHAMP}}</li>
{% endfor %}
</ul>
</li>
{% else %}
<li>{{etape.CATEGORIE}}</li>
{% endif %}
{% endfor %}
</ul>
{% endfor %}
</div>
</div>
</div>
{% endif %}
{% if json.data.dossier.DROITS %}
<div class="cell">
<div id="droits">
<h2>Vos Droits</h2>
<div class="cell--body">
<ul>
{% for droit in json.data.dossier.DROITS %}
<li>
{{droit.LIBELLE}} du {{droit.DATE_DEBUT}} au {{droit.DATE_FIN}}.
</li>
{% endfor %}
</ul>
</div>
</div>
</div>
{% endif %}
{% endif %}

View File

@ -0,0 +1,7 @@
<div class="links-list">
<ul>
<li>
<a href="{{ eservices_url}}enlever-un-dossier-a-mon-profil/?session_var_dossier={{request.GET.dossier}}&cancelurl={{ portal_url }}solidarite-social/page-de-suivi-social/accueil-dossier-social/?dossier={{request.GET.dossier}}">Enlever ce dossier de mon compte</a>
</li>
</ul>
</div>

View File

@ -0,0 +1,12 @@
{% load combo %}
{% if json.data %}
<div class="links-list">
<ul>
<li>
<a href="{{ eservices_url }}enlever-un-dossier-a-mon-profil/?cancelurl={{ portal_url }}solidarite-social/page-de-suivi-social" >
Je souhaite enlever un dossier à mon profil
</a>
</li>
</ul>
</div>
{% endif %}

View File

@ -0,0 +1,34 @@
{% if json.data %}
<h2>{{json.data.NomEnregistrement}}</h2>
<div class="cell--body">
<p>
<a href="{{ portal_url }}associations/">↩ Retour</a>
</p>
<p>
<a class="pk-button" href="{{ eservices_url }}associations/modification-des-informations-relatives-a-mon-association/?association_id={{json.data.CodeTiers}}&cancelurl={{ portal_url }}associations/">Modifier les informations</a>
</p>
<p>SIRET : <strong>{{json.data.NumeroSiret}} {{json.data.NumeroSiretFin }}</strong><br/>
{% if json.data.Sigle %}Sigle : <strong>{{json.data.Sigle}}</strong><br/>{% endif %}
{% if json.data.NumeroTelephone %}Numéro de téléphone : <strong>{{json.data.NumeroTelephone}}</strong><br/>{% endif %}
{% if json.data.SiteWeb %}Site Web : <strong>{{json.data.SiteWeb}}</strong>{% endif %}
</p>
<p>Adresse :<br/>
<strong>{% if json.data.AdresseLibelleRue %}{{ json.data.AdresseLibelleRue }}<br/>{% endif %}
{% if json.data.AdresseComplementVoie %}{{ json.data.AdresseComplementVoie }}<br/>{% endif %}
{% if json.data.AdresseCodePostal %}{{ json.data.AdresseCodePostal }}{% endif %}
{% if json.data.AdresseBureauDistributeur %}{{ json.data.AdresseBureauDistributeur }}<br/>{% endif %}
</strong>
</p>
<h3>Moyens de contact</h3>
{% if json_contact.data %}
<p>
<strong>{{json_contact.data.Prenom}} {{json_contact.data.Nom}}</strong><br/>
Courriel : <strong>{{json_contact.data.AdresseMail|default:"Non renseigné"}}</strong><br/>
Téléphone : <strong>{{json_contact.data.TelephoneMobile|default:"Non renseigné"}}</strong><br/>
Adresse : <strong>{{json_contact.data.RueVoie|default:""}} {{json_contact.data.CodePostal|default:""}} {{json_contact.data.Ville|default:""}}</strong>
</p>
{% else %}
<p>Aucun contact nest renseigné.</p>
{% endif %}
</div>
{% endif %}

View File

@ -0,0 +1,57 @@
{% load combo %}
{% if json.data %}
<h2>Informations personnelles</h2>
<div class="cell--body">
<div id="profile">
<div class="field">
{% if json.data.dossier.IDENTIFICATION.0.SEXE %}
<div class="value"> {% if json.data.dossier.IDENTIFICATION.0.SEXE == 'F' %}Madame{% else %}Monsieur{% endif %}
{% if json.data.dossier.IDENTIFICATION.0.PRENOM %} {{json.data.dossier.IDENTIFICATION.0.PRENOM}}{% endif %}
{% if json.data.dossier.IDENTIFICATION.0.NOM %} {{json.data.dossier.IDENTIFICATION.0.NOM}}{% endif %}
{% if json.data.dossier.IDENTIFICATION.0.NOM_NAISSANCE %} né(e) {{json.data.dossier.IDENTIFICATION.0.NOM_NAISSANCE}}{% endif %}
</div>
</div>
<div class="field">
<span class="label">Date de naissance : </span>
<div class="value">{% if json.data.dossier.IDENTIFICATION.0.DATE_NAISSANCE %}{{json.data.dossier.IDENTIFICATION.0.DATE_NAISSANCE}}{% endif %}{% endif %}
</div>
</div>
<div class="field">
<span class="label">Adresse :</span>
<div class="value">
{% if json.data.dossier.IDENTIFICATION.0.NU_VOIE_ADR %}{{json.data.dossier.IDENTIFICATION.0.NU_VOIE_ADR}} {% endif %}
{% if json.data.dossier.IDENTIFICATION.0.LB_COD_BTQ_ADR %}{{json.data.dossier.IDENTIFICATION.0.LB_COD_BTQ_ADR}} {% endif %}
{% if json.data.dossier.IDENTIFICATION.0.LB_COD_VOIE_ADR %}{{json.data.dossier.IDENTIFICATION.0.LB_COD_VOIE_ADR}} {% endif %}
{% if json.data.dossier.IDENTIFICATION.0.LB_VOIE_ADR %}{{json.data.dossier.IDENTIFICATION.0.LB_VOIE_ADR}} {% endif %}<br />
{% if json.data.dossier.IDENTIFICATION.0.COMPLEMENT_ADRESSE %}{{json.data.dossier.IDENTIFICATION.0.COMPLEMENT_ADRESSE}}<br />{% endif %}
{% if json.data.dossier.IDENTIFICATION.0.CODE_POSTAL %}{{json.data.dossier.IDENTIFICATION.0.CODE_POSTAL}} {% endif %}
{% if json.data.dossier.IDENTIFICATION.0.VILLE %}{{json.data.dossier.IDENTIFICATION.0.VILLE}} {% endif %}
{% if json.data.dossier.IDENTIFICATION.0.LB_PAY_ADR %}{{json.data.dossier.IDENTIFICATION.0.LB_PAY_ADR}}{% endif %}
</div>
</div>
{% if json.data.dossier.IDENTIFICATION.0.TEL_FIXE %}
<div class="field">
<span class="label">Téléphone fixe :</span>
<div class="value">{{json.data.dossier.IDENTIFICATION.0.TEL_FIXE}}</div>
</div>
{% endif %}
{% if json.data.dossier.IDENTIFICATION.0.TEL_MOBILE %}
<div class="field">
<span class="label">Téléphone mobile :</span>
<div class="value">{{json.data.dossier.IDENTIFICATION.0.TEL_MOBILE}}</div>
</div>
{% endif %}
{% if json.data.dossier.IDENTIFICATION.0.MAIL %}
<div class="field">
<span class="label">Adresse de courriel :</span>
<div class="value">{{json.data.dossier.IDENTIFICATION.0.MAIL}}</div>
</div>
{% endif %}
</div>
</div>
{% endif %}

View File

@ -0,0 +1,3 @@
<div class="cell--body">
<a href="../?dossier={{request.GET.dossier}}">↩ Retour</a>
</div>

View File

@ -0,0 +1,9 @@
<div class="link-list">
<ul>
<li>
<a href="{{ eservices_url}}signaler-un-changement-de-coordonnees/?session_var_dossier={{request.GET.dossier}}&cancelurl={{ portal_url }}solidarite-social/page-de-suivi-social/accueil-dossier-social/?dossier={{request.GET.dossier}}">
Signaler un changement de coordonnées
</a>
</li>
</ul>
</div>

View File

@ -0,0 +1,19 @@
{% load combo %}
{% if json.data %}
{% if json.data.dossier.DEMANDES.AD %}
{% regroup json.data.dossier.DEMANDES.AD by ETAPE as demandes_by_etape %}
{% for group in demandes_by_etape %}
{% if group.grouper == "Décision" and group.list|length and group.list|length == json.data.dossier.DEMANDES.AD|length %}
<div class="links-list">
<ul>
<li>
<a href="{{ eservices_url}}demande-de-revision-apa-a-domicile/?session_var_dossier={{json.data.id}}&cancelurl={{ portal_url }}solidarite-social/page-de-suivi-social/accueil-dossier-social/?dossier={{json.data.id}}">
Faire une révision APA
</a>
</li>
</ul>
</div>
{% endif %}
{% endfor %}
{% endif %}
{% endif %}

View File

@ -0,0 +1,35 @@
{% load combo assets %}
{% if json.data %}
{% if json.data.dossier.DEMANDES %}
{% if json.data.dossier.DEMANDES.AD and json.data.dossier.DEMANDES.PH %}
<h2>Consulter mes dossiers</h2>
{% else %}
<h2>Consulter mon dossier</h2>
{% endif %}
<div class="links-list">
<ul>
{% if json.data.dossier.DEMANDES.AD %}
<li>
<a href="ad/?dossier={{json.data.id}}">
Dossier AUTONOMIE
</a>
</li>
{% endif %}
{% if json.data.dossier.DEMANDES.PH %}
<li>
<a href="ph/?dossier={{json.data.id}}">
Dossier HANDICAP
</a>
</li>
{% endif %}
</ul>
</div>
{% else %}
<h2>Consulter mes dossiers</h2>
<div class="cell--body">
<p>Vous navez pas de demande ou de droits en cours.</p>
</div>
{% endif %}
{% endif %}

View File

@ -0,0 +1,13 @@
{% load combo %}
{% if json.data %}
<h2>Mes dossiers ({{json.data|length}})</h3>
<div class="links-list">
<ul>
{% for line in json.data %}
<li>
<a href="accueil-dossier-social/?dossier={{line.id}}" class="dossier-social">{{line.dossier.IDENTIFICATION.0.PRENOM}} {{line.dossier.IDENTIFICATION.0.NOM}}</a>
</li>
{% endfor %}
</ul>
</div>
{% endif %}

View File

@ -0,0 +1,46 @@
{% load combo %}
{% if json.data %}
{% if json.data|length == 1 %}
<div class="links-list">
<ul>
<li>
<a href="dossier-beneficiaire-social/?dossier={{json.data.0.id}}">
Accéder à mon dossier<br/>{{json.data.0.dossier.IDENTIFICATION.0.PRENOM}} {{json.data.0.dossier.IDENTIFICATION.0.NOM}}</a>
</li>
<li>
<a href="{{ eservices_url }}social/supprimer-un-beneficiaire-pre-prod/?cancelurl={{ portal_url }}social-preprod/">
&nbsp;D&eacute;sappairer mon dossier
</a>
</li>
</ul>
</div>
{% else %}
<h2>Mes dossiers ({{json.data|length}})</h2>
<div class="links-list">
<ul>
<li>
<a href="dossier-beneficiaire-social/?dossier={{line.id}}">
{{line.dossier.IDENTIFICATION.0.PRENOM}} {{line.dossier.IDENTIFICATION.0.NOM}}
</a>
</li>
</ul>
</div>
<div class="cell--body">
<h3>Enlever un dossier de mon compte</h2>
</div>
<div class="links-list">
<ul>
<li>
<a href="{{ eservices_url }}social/supprimer-un-beneficiaire-pre-prod/?cancelurl={{ portal_url }}social-preprod/">
&nbsp;D&eacute;sappairer un dossier
</a>
</li>
</ul>
</div>
{% endif %}

View File

@ -0,0 +1,20 @@
<div class="cell textcell pink-header">
<h2>Mes organismes</h2>
<div class="cell--body">
{% if json.data %}
{% for association in json.data %}
<h3>{{ association.text }}</h3>
<p>
<a href="{{ portal_url }}informations-de-lassociation/?association_id={{association.id}}">Voir les informations</a> -
<a href="{{ eservices_url }}associations/modification-des-informations-relatives-a-mon-association/?association_id={{association.id}}&cancelurl={{ portal_url }}associations/">Modifier les informations</a> -
<a href="{{ eservices_url }}associations/enlever-une-association-a-mon-profil/?association_id={{association.id}}&cancelurl={{ portal_url }}associations/">Enlever de mon profil</a>
</p>
<p>
<a class="pk-button" href="{{ portal_url }}associations/les-demandes-de-subvention/?association_id={{association.id}}&cancelurl={{ portal_url }}associations/">Faire une demande de subvention</a>
</p>
{% endfor %}
{% else %}
<p>Vous devez cliquer sur le bouton <a href="{{ eservices_url }}associations/ajouter-une-association-a-mon-profil/?cancelurl={{ portal_url }}associations/">ajouter un organisme à mon profil</a> pour poursuivre.</p>
{% endif %}
</div>
</div>

View File

@ -0,0 +1,14 @@
{% if not json %}
<div class="errornotice"><p>Erreur de configuration du portail. Cette page ne devrait pas être visible par un utilisateur non connecté.</p></div>
{% elif not user|has_role:"Gestionnaire des seniors" %}
<div class="errornotice"><p>Erreur de configuration du portail. Cette page ne devrait pas être visible par un agent qui n'est pas gestionnaire des seniors.</p></div>
{% else %}
<p>Bonjour {{ json.first_name }}.</p>
{% if not fiche %}
<div class="warningnotice">
<p>Votre affectation n'est pas encore définie. Il vous faut la définir : <strong><a href="{{ eservices_url }}backoffice/data/seniors-fiche-agent/add/?NameID={{ json.uuid }}&ReturnURL={{ portal_agent_url }}espace-seniors/">définir votre affectation</a></strong>.</p>
</div>
{% else %}
<p>Votre affectation est <strong>{{ fiche.fields.lieu_inscription }}</strong> (<a href="{{ eservices_url }}backoffice/submission/seniors-mise-a-jour-du-lieu-d-affectation/?ReturnURL={{ portal_agent_url }}espace-seniors/">Modifier</a>).</p>
{% endif %}
{% endif %}

View File

@ -0,0 +1,164 @@
<!-- Titre -->
{% if json %}
<h2>{{ json.title|default:"" }} {{ json.first_name }} {{ json.last_name|upper }}</h2>
{% endif %}
<!-- Fin Titre -->
<!-- Avertissements -->
{% if not json and not fiche %}
<div class="warningnotice"><p>Ce senior n'existe pas.</p></div>
{% endif %}
{% if not json and fiche %}
<div class="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 %}
<div class="warningnotice"><p>Le senior est archivé.</p></div>
{% endif %}
{% if json and json.birthdate and json.birthdate|age_in_years|decimal < 55 %}
<div class="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 %}
<div class="warningnotice"><p>L'adresse est en erreur.</p></div>
{% endif %}
<!-- Fin Avertissements -->
<!-- User sans fiche, à créer -->
{% if json and not fiche %}
<div class="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 :
<a href="{{ 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>
</div>
{% endif %}
<!-- Fin User sans fiche, à créer -->
<!-- Infos lieu d'inscription -->
{% if fiche %}
<div class="infonotice">
<table style="width:100%;">
<tr>
<!-- Colonne de gauche - Lieu d'inscription -->
<td style="width:50%; vertical-align: top; padding: 1em;">
<p><strong>Lieu d'inscription</strong></p>
<p>Le senior est inscrit à <strong>{{ fiche.fields.lieu_inscription }}</strong>. {% if not fiche.fields.archive %}<a href="{{ eservices_url }}backoffice/submission/seniors-mise-a-jour-du-lieu-d-inscription/?NameID={{ json.uuid }}&ReturnURL={{ portal_agent_url }}espace-seniors/page-senior/{{ json.uuid }}/">Modifier</a>{% endif %}</p>
</td>
<!-- Colonne de droite - La fiche à imprimer -->
<td style="width:50%; vertical-align: top; padding: 1em;">
<p><strong>Fiche d'inscription</strong></p>
<p>
{% if not fiche.fields.archive %}<a href="{{ eservices_url }}backoffice/submission/seniors-generer-la-fiche-a-imprimer/?NameID={{ json.uuid }}&ReturnURL={{ portal_agent_url }}espace-seniors/page-senior/{{ json.uuid }}/" target="_blank">Fiche à imprimer</a>{% endif %}
{% if fiche.fields.fiche_senior_signee %}{% if not fiche.fields.archive %}- {% endif %}<a href="{{ eservices_url }}backoffice/data/senior/{{ fiche.id }}/download?f={{ fiche.fields.fiche_senior_signee.field_id }}" target="_blank">Fiche signée</a>{% endif %}
{% if not fiche.fields.archive %}- <a href="{{ eservices_url }}backoffice/submission/seniors-mise-a-jour-de-la-fiche-a-imprimer-signee/?NameID={{ json.uuid }}&ReturnURL={{ portal_agent_url }}espace-seniors/page-senior/{{ json.uuid }}/">{% if fiche.fields.fiche_senior_signee %}Modifier{% else %}Déposer la fiche signée{% endif %}</a>{% if fiche.fields.fiche_senior_signee %} / <a href="{{ eservices_url }}backoffice/submission/seniors-suppression-de-la-fiche-a-imprimer-signee/?NameID={{ json.uuid }}&ReturnURL={{ portal_agent_url }}espace-seniors/page-senior/{{ json.uuid }}/">Supprimer<a/>{% endif %}{% endif %}</p>
</td>
</tr>
</table>
</div>
{% endif %}
<!-- Fin Infos lieu d'inscription -->
<!-- Gestion du profil -->
<table style="width:100%;">
<tr>
<!-- Colonne de gauche - le user -->
<td style="width:50%; vertical-align: top; padding: 1em;">
{% if json %}
<p><!-- État-civil -->
<table class="main">
<tr><th style="width:30%;">État-civil</th><th>{% if not fiche.fields.archive %}<a href="{{eservices_url}}backoffice/submission/seniors-mise-a-jour-de-l-etat-civil/?ReturnURL={{ portal_agent_url }}espace-seniors/page-senior/{{ json.uuid }}/&NameID={{ json.uuid }}" class="pk-button">Modifier</a>{% endif %}</th></tr>
{% if json.title %}<tr><td>Civilité</td><td><strong>{{ json.title }}</strong></td></tr>{% endif %}
<tr><td>Prénom</td><td><strong>{{ json.first_name }}</strong></td></tr>
<tr><td>Nom</td><td><strong>{{ json.last_name|upper }}</strong></td></tr>
{% if json.nom_de_naissance %}<tr><td>Nom de naissance</td><td><strong>{{ json.nom_de_naissance }}</strong></td></tr>{% endif %}
{% if json.birthdate %}<tr><td>Date de naissance</td><td><strong>{{ json.birthdate|date:"d/m/Y" }} ({{ json.birthdate|age_in_years }} ans)</strong></td></tr>{% endif %}
{% if json.lieu_de_naissance %}<tr><td>Lieu de naissance</td><td><strong>{{ json.lieu_de_naissance }}</strong></td></tr>{% endif %}
</table>
</p>
<p><!-- Adresse -->
<table class="main">
<tr><th style="width:30%;">Adresse{% if fiche.fields.adresse_erreur %} (En erreur){% endif%}</th><th>{% if not fiche.fields.archive %}<a href="{{eservices_url}}backoffice/submission/seniors-mise-a-jour-de-l-adresse/?ReturnURL={{ portal_agent_url }}espace-seniors/page-senior/{{ json.uuid }}/&NameID={{ json.uuid }}" class="pk-button">Modifier</a>&nbsp;{% if fiche %}<a href="{{ eservices_url }}backoffice/submission/seniors-mise-a-jour-de-l-adresse-en-erreur/?NameID={{ json.uuid }}&ReturnURL={{ portal_agent_url }}espace-seniors/page-senior/{{ json.uuid }}/" class="pk-button">{% if fiche.fields.adresse_erreur %}Marquer l'adresse correcte{% else %}Marquer l'adresse en erreur{% endif %}</a>{% endif %}{% endif %}</th></tr>
{% if json.address %}<tr><td>Adresse</td><td><strong>{% if json.numero_sur_la_voie %}{{ json.numero_sur_la_voie|upper }} {% endif %}{{ json.address|upper }}</strong></td></tr>{% endif %}
{% if json.complement_d_adresse %}<tr><td>Complément d'adresse</td><td><strong>{{ json.complement_d_adresse|upper }}</strong></td></tr>{% endif %}
{% if json.zipcode %}<tr><td>Code postal</td><td><strong>{{ json.zipcode }}</strong></td></tr>{% endif %}
{% if json.city %}<tr><td>Ville</td><td><strong>{{ json.city|upper }}</strong></td></tr>{% endif %}
</table>
</p>
<p><!-- Téléphones et courriel -->
<table class="main">
<tr><th style="width:30%;">Téléphones / Email</th><th>{% if not fiche.fields.archive %}<a href="{{eservices_url}}backoffice/submission/seniors-mise-a-jour-des-autres-coordonnees/?ReturnURL={{ portal_agent_url }}espace-seniors/page-senior/{{ json.uuid }}/&NameID={{ json.uuid }}" class="pk-button">Modifier</a>{% endif %}</th></tr>
{% if json.phone %}<tr><td>Téléphone fixe</td><td><strong>{{ json.phone|phonenumber_fr }}</strong></td></tr>{% endif %}
{% if json.mobile %}<tr><td>Téléphone mobile</td><td><strong>{{ json.mobile|phonenumber_fr }}</strong></td></tr>{% endif %}
{% if json.email %}<tr><td>Adresse email</td><td><strong><a href="mailto:{{ json.email }}?subject=[Seniors en action]">{{ json.email }}</a></strong></td></tr>{% endif %}
</table>
</p>
{% endif %}
</td>
<!-- Colonne de droite - la fiche -->
<td style="vertical-align: top; padding: 1em;">
{% if fiche %}
<p><!-- Conjoint -->
<table class="main">
<tr><th style="width:30%;">Conjoint</th><th>{% if json %}{% if not fiche.fields.archive %}<a href="{{ eservices_url }}backoffice/submission/seniors-mise-a-jour-du-conjoint/?NameID={{ json.uuid }}&ReturnURL={{ portal_agent_url }}espace-seniors/page-senior/{{ json.uuid }}/" class="pk-button">Modifier</a>{% endif %}{% endif %}</th></tr>
{% if conjoint %}
<tr><td>Senior</td><td><strong><a href="{{ conjoint.workflow.fields.url_fiche }}">{{ conjoint.text }}</a></strong></td></tr>
{% endif %}
</table>
</p>
<p><!-- Personne à contacter -->
<table class="main">
<tr><th style="width:30%;">Personne à contacter</th><th>{% if json %}{% if not fiche.fields.archive %}<a href="{{ eservices_url }}backoffice/submission/seniors-mise-a-jour-de-la-personne-a-contacter/?NameID={{ json.uuid }}&ReturnURL={{ portal_agent_url }}espace-seniors/page-senior/{{ json.uuid }}/" class="pk-button">Modifier</a>{% endif %}{% endif %}</th></tr>
{% if fiche.fields.pc_nom_prenom or fiche.fields.pc_telephone or fiche.fields.pc_lien %}
<tr><td>Nom et prénom</td><td><strong>{{fiche.fields.pc_nom_prenom|default:""}}</strong></td></tr>
<tr><td>Lien</td><td><strong>{{fiche.fields.pc_lien|default:""}}</strong></td></tr>
<tr><td>Téléphone</td><td><strong>{{fiche.fields.pc_telephone|phonenumber_fr|default:""}}</strong></td></tr>
{% endif %}
</table>
</p>
<p><!-- Documents -->
<table class="main">
<tr><th style="width:30%;">Documents</th><th>{% if json %}{% if not fiche.fields.archive %}<a href="{{ 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 %}<a href="{{ 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 %}<a href="{{ fiche.fields.cm.url }}" target="_blank">Certificat</a> - {{ fiche.fields.annee_cm }}{% else %}Pas de certificat{% endif %}</strong></td></tr>
</table>
</p>
<p><!-- Divers -->
<table class="main">
<tr><th style="width:30%;">Autres renseignements</th><th>{% if json %}{% if not fiche.fields.archive %}<a href="{{ 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 -->
<table class="main">
<tr><th style="width:30%;">Mémo</th><th>{% if json %}{% if not fiche.fields.archive %}<a href="{{ 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>
</table>
</p>
{% endif %}
</td>
</tr>
</table>
<!-- Fin Gestion du profil -->

View File

@ -0,0 +1,54 @@
{% if json and fiche %}
<div>
<!-- Infos sur la création -->
<h3>Informations générales</h3>
<p>Date de création : <strong>{{ fiche.receipt_time|date }}</strong><br/>
Par : <strong>{{ fiche.evolution.0.who.name }}</strong></p>
{% if fiche.fields.url_historique %}
<p><a href="{{ fiche.fields.url_historique }}" target="_blank">Historique EUDONET</a></p>
{% endif %}
<!-- Fin Infos sur la création -->
<!-- Gestion de l'archivage et de la suppression -->
<p>{% if not fiche.fields.archive %}<a href="{{ eservices_url }}backoffice/submission/seniors-mise-a-jour-de-l-archivage/?NameID={{ json.uuid }}&ReturnURL={{ portal_agent_url }}espace-seniors/page-senior/{{ json.uuid }}/">Archiver le senior</a>{% else %}<strong>Senior archivé</strong> (<a href="{{ eservices_url }}backoffice/submission/seniors-mise-a-jour-de-l-archivage/?NameID={{ json.uuid }}&ReturnURL={{ portal_agent_url }}espace-seniors/page-senior/{{ json.uuid }}/">Réactiver le senior</a>){% endif %}</p>
{% if fiche.fields.archive and user|has_role:"Administrateur des seniors" %}
<p><strong>Suppression :</strong>
<ul>
<li>1 - <a href="{{ eservices_url }}backoffice/management/inscription-aux-activites/toutes/?filter-user-uuid={{ name_id }}&keep-view-filters=on" target="_blank">Anonymiser les inscriptions</a></li>
<li>2 - <a href="{{ eservices_url }}backoffice/submission/seniors-supprimer-un-senior/?NameID={{ json.uuid }}&ReturnURL={{ portal_agent_url }}espace-seniors/page-senior/{{ json.uuid }}/">Supprimer le senior</a></li>
</ul>
</p>
{% endif %}
<p>&nbsp;</p>
<!-- Fin Gestion de l'archivage et de la suppression -->
</div>
<!-- Gestion des inscriptions -->
<div class="links-list">
<h3>Inscriptions</h3>
<p>
<ul>
{% if not fiche.fields.archive %}
<li style="text-align: center;"><a href="{{ eservices_url }}backoffice/submission/inscription-aux-activites/?NameID={{ json.uuid }}&ReturnURL={{ portal_agent_url }}espace-seniors/page-senior/{{ json.uuid }}/"><strong>> Nouvelle inscription <</strong></a></li>
{% endif %}
<li style="text-align: center;"><a href="{{ eservices_url }}backoffice/management/inscription-aux-activites/?filter-user-uuid={{ name_id }}&keep-view-filters=on" target="_blank">Les inscriptions du senior</a></li>
<li style="text-align: center;"><a href="{{ eservices_url }}backoffice/data/senior/{{ fiche.id }}/">Décomptes du senior</a></li>
</ul>
</p>
</div>
<!-- Fin Gestion des inscriptions -->
<!-- Gestion des paiements -->
<div class="links-list">
<h3>Paiements</h3>
<p>
<ul>
<li style="text-align: center;"><a href="{{ eservices_url }}backoffice/data/reglement/?filter-user-uuid={{ name_id }}&keep-view-filters=on">Règlements</a></li>
<li style="text-align: center;"><a href="{{ eservices_url }}backoffice/data/remboursement/?filter-user-uuid={{ name_id }}&keep-view-filters=on">Remboursements</a></li>
</ul>
</p>
</div>
<!-- Fin Gestion des paiements -->
{% endif %}

View File

@ -0,0 +1,56 @@
{% load combo %}
{% if json.data %}
<h2>{% if json.data.dossier.IDENTIFICATION.0.PRENOM %}{{json.data.dossier.IDENTIFICATION.0.PRENOM}}{% endif %} {% if json.data.dossier.IDENTIFICATION.0.NOM %}{{json.data.dossier.IDENTIFICATION.0.NOM}}{% endif %}</h2>
<div>
{% if json.data.dossier.DEMANDES.AD %}
<h3>Mes demandes</h3>
<div class="pk-table-wrapper">
<table class="pk-data-table">
<caption>État davancement de vos demandes à ce jour</caption>
<tr>
<th>Date</th>
<th>Objet</th>
<th>État</th>
<th>Étape davancement</th>
<th></th>
</tr>
{% for demande in json.data.dossier.DEMANDES.AD %}
<tr>
<td>{{demande.DT_DMD}}</td>
<td>{{demande.TYPE_MESURE}}</td>
<td>{{demande.ETAPE}}</td>
<td>{% for etape in demande.LISTE_ETAPES %}{% if etape.A_SURLIGNER == 'O' %}{{etape.CATEGORIE}}{% endif %}{% endfor %}</td>
<td><a href="detail-demande-social-ad/?dossier={{json.data.id}}&demande={{demande.ID_MES}}" class="see-more">Voir plus</a></td>
</tr>
{% endfor %}
</table>
</div>
{% endif %}
{% if json.data.dossier.DROITS.AD %}
<h3>Mes droits</h3>
<div class="pk-table-wrapper">
<table class="pk-data-table">
<caption>Droits en cours</caption>
<tr>
<th>Objet</th>
<th>Date de début</th>
<th>Date de fin</th>
<th>Décision</th>
</tr>
{% for droit in json.data.dossier.DROITS.AD %}
<tr>
<td>{{droit.LIBELLE}}</td>
<td>{{droit.DATE_DEBUT}}</td>
<td>{{droit.DATE_FIN}}</td>
<td>{{droit.DEC_PREST}}</td>
</tr>
{% endfor %}
</table>
</div>
{% endif %}
</div>
{% endif %}

View File

@ -0,0 +1,57 @@
{% load combo %}
{% if json.data %}
<h2>{% if json.data.dossier.IDENTIFICATION.0.PRENOM %}{{json.data.dossier.IDENTIFICATION.0.PRENOM}}{% endif %} {% if json.data.dossier.IDENTIFICATION.0.NOM %}{{json.data.dossier.IDENTIFICATION.0.NOM}}{% endif %}</h2>
<div>
{% if json.data.dossier.DEMANDES.PH %}
<h3>Mes demandes</h3>
<div class="pk-table-wrapper">
<table class="pk-data-table">
<caption>ÉTAT DAVANCEMENT DE VOS DEMANDES À CE JOUR</caption>
<tr>
<th>Date</th>
<th>Objet</th>
<th>État</th>
<th>Étape davancement</th>
<th></th>
</tr>
{% for demande in json.data.dossier.DEMANDES.PH %}
<tr>
<td>{{demande.DT_DMD}}</td>
<td>{{demande.TYPE_MESURE}}</td>
<td>{{demande.ETAPE}}</td>
<td>{% for etape in demande.LISTE_ETAPES %}{% if etape.A_SURLIGNER == 'O' %}{{etape.CATEGORIE}}{% endif %}{% endfor %}</td>
<td><a href="detail-demande-social-ph/?dossier={{json.data.id}}&demande={{demande.ID_MES}}" class="see-more">Voir plus</a></td>
</tr>
{% endfor %}
</table>
</div>
{% endif %}
{% if json.data.dossier.DROITS.PH %}
<div class="cell pink-header">
<h3>Mes droits</h3>
<div class="pk-table-wrapper">
<table class="pk-data-table">
<caption>Droits en cours</caption>
<tr>
<th>Objet</th>
<th>Date de début</th>
<th>Date de fin</th>
<th>Décision</th>
</tr>
{% for droit in json.data.dossier.DROITS.PH %}
<tr>
<td>{{droit.LIBELLE}}</td>
<td>{{droit.DATE_DEBUT}}</td>
<td>{{droit.DATE_FIN}}</td>
<td>{{droit.DEC_PREST}}</td>
</tr>
{% endfor %}
</table>
</div>
{% endif %}
</div>
{% endif %}