publik-base-theme/templates/variants/alpes-maritimes-2018/combo/json/dossier-de-beneficiaire.html

190 lines
10 KiB
HTML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{% 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 foldable">
<div id="references">
<h2>Vos références</h2>
<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 class="cell foldable">
<div id="vous">
<h2>Vous</h2>
<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 class="cell foldable">
<div id="coordonnees">
<h2>Vos coordonnées</h2>
<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 class="cell foldable">
<div id="ass">
<h2>Vos informations dassuré social</h2>
<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 class="cell foldable">
<div id="situation">
<h2>Votre situation familiale</h2>
<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>
{% if json.data.dossier.IDENTIFICATION.0.CONJOINT %}
<div class="cell foldable">
<div id="conjoint">
<h2>Votre conjoint</h2>
{% 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>
{% endif %}
{% if json.data.dossier.IDENTIFICATION.0.CONTACTS %}
<div class="cell foldable">
<div id="contacts">
<h2>Vos contacts</h2>
{% 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>
{% endif %}
{% if json.data.dossier.DEMANDES %}
<div class="cell foldable">
<div id="demandes">
<h2>Vos Demandes</h2>
{% 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>
{% endif %}
{% if json.data.dossier.DROITS %}
<div class="cell foldable">
<div id="droits">
<h2>Vos Droits</h2>
<ul>
{% for droit in json.data.dossier.DROITS %}
<li>
{{droit.LIBELLE}} du {{droit.DATE_DEBUT}} au {{droit.DATE_FIN}}.
</li>
{% endfor %}
</ul>
</div>
</div>
{% endif %}
{% endif %}