65 lines
1.6 KiB
HTML
65 lines
1.6 KiB
HTML
{% load combo %}
|
|
|
|
{% if json.data %}
|
|
|
|
<h1>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 %}</h1>
|
|
|
|
{% if json.data.dossier.DEMANDES.AD %}
|
|
{% for demande in json.data.dossier.DEMANDES.AD %}
|
|
{% if demande.ID_MES == request.GET.demande %}
|
|
|
|
<h2>{{ demande.TYPE_MESURE }}</h2>
|
|
|
|
<h3>Progression de la demande</h3>
|
|
<p>
|
|
{% for etape in demande.LISTE_ETAPES %}
|
|
{% if etape.A_SURLIGNER == "O" %}
|
|
<strong>
|
|
{% endif %}
|
|
{{ etape.CATEGORIE }}
|
|
{% if etape.A_SURLIGNER == "O" %}
|
|
</strong>
|
|
{% endif %}
|
|
{% if not forloop.last %} > {% endif %}
|
|
{% endfor %}
|
|
</p>
|
|
|
|
{% 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 ept.VALEUR_MEMO_CHAMP %}
|
|
<p>{{etp.LIBELLE_CHAMP}} : {{etp.VALEUR_MEMO_CHAMP}}</p>
|
|
{% endif %}
|
|
{% endfor %}
|
|
{% endif %}
|
|
{% endif %}
|
|
{% endfor %}
|
|
|
|
{% endif %}
|
|
{% endfor %}
|
|
{% endif %}
|
|
{% endif %} |