publik-base-theme/templates/combo/json/rsa-situation.html

169 lines
8.9 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.

{% if not json.err %}
<h2>Ma situation en terme daccompagnement</h2>
<div>
<!-- Début : Introduction -->
<div class="rsa-cell--introduction">
<p>
<strong>
{% if json.data.soumisDD == "Soumis à droit et devoir" %}
« Jai des droits et des obligations. »
{% else %}
« Je nai pas daccompagnement obligatoire. »
{% endif %}
</strong>
</p>
<p>
<strong>
{% if json.data.oriente %}
« Jai un référent. »
{% else %}
« Je nai pas de référent. »
{% endif %}
</strong>
</p>
</div>
<!-- Fin : Introduction -->
<!-- Début : Non orienté -->
{% if not json.data.oriente %}
<div class="pk-information">
{% if json.data.soumisDD != "Soumis à droit et devoir" %}
<!-- NSDD -->
<p>Je peux quand même être aidé dans mes démarches.</p>
{% else %}
<!-- SDD -->
<p>Je nai pas daccompagnement actuellement mais je dois en avoir un. Je dois prendre contact avec mon Territoire dAction Sociale afin de régulariser ma situation.</p>
{% endif %}
{% if json_brsa.data.dossier.adresse.lieu.localisation.nomCirconscription %}
{% with i=json_brsa.data.dossier.adresse.lieu.localisation %}
<p>Je contacte mon Territoire dAction Sociale :</p>
<ul>
<li>Nom : <strong>{{ i.nomCirconscription }}</strong></li>
{% if i.circonscription.stdCirconscription %}<li>Téléphone : <strong>{{ i.circonscription.stdCirconscription|phonenumber_fr }}</strong></li>{% endif %}
{% if i.circonscription.emailCirconscription %}<li>Email : <strong>{{ i.circonscription.emailCirconscription }}</strong></li>{% endif %}
<li>Adresse : <strong>{{ i.circonscription.adresse.numero|default:"" }} {{ i.circonscription.adresse.lieu.nom|default:"" }} {{ i.circonscription.adresse.lieu.commune.codePostal|default:"" }} {{ i.circonscription.adresse.lieu.commune.nom|default:"" }}</strong></li>
</ul>
{% endwith %}
{% else %}
<div class="pk-information"><p>Vous navez pas de Territoire dAction Sociale de défini.</p></div>
{% endif %}
</div>
{% endif %}
<!-- Fin : Non orienté -->
<!-- Début : Orienté -->
<div class="rsa-cell--datas">
{% if json.data.oriente %}
{% with data=json_evaluations.data %}
<div>
{% if data.typeorientation == "Emploi" %}
<!-- Orienté emploi -->
<p>Mon référent est : <strong>{{ data.rsa_links.structAcc.0.content.libelleReferentiel|default:"Pôle Emploi" }}</strong></p>
<p>Depuis le : <strong>{{ data.commission.dateDecision|default:"date inconnue" }}</strong></p>
<p>Coordonnées : <strong>39 49 (gratuit depuis un poste fixe) ou <a href="https://www.pole-emploi.fr">www.pole-emploi.fr</a></strong></p>
{% else %}
<!-- Orienté social -->
{% if data.corrOrientationChoix == 'CONSEIL_DEPARTEMENTAL' %}
<!-- Interne -->
<p>Mon référent est : <strong>{{ data.corrOrientIntervenantSocial }}{% if data.corrOrientStructureAccompagnement %} - {{ data.corrOrientStructureAccompagnement }}{% endif %}</strong></p>
<p>Depuis le : <strong>{{ data.commission.dateDecision|default:"date inconnue" }}</strong></p>
<p>Coordonnées :</p>
<ul>
{% if data.rsa_links.corrOrient.content.coordonnees.numeroTelephone %}<li>Téléphone : <strong>{{ data.rsa_links.corrOrient.content.coordonnees.numeroTelephone|phonenumber_fr }}</strong></li>{% endif %}
{% if data.rsa_links.corrOrientStructAcc.content.email %}<li>Email : <strong>{{ data.rsa_links.corrOrientStructAcc.content.email }}</strong></li>{% endif %}
</ul>
{% else %}
<p>Mon référent est : <strong>{{ data.refOrientIntervenantSocial|default:"" }}{% if data.refOrientStructureAccompagnement %} - {{ data.refOrientStructureAccompagnement }}{% endif %}</strong></p>
<p>Depuis le : <strong>{{ data.commission.dateDecision|default:"date inconnue" }}</strong></p>
{% if data.rsa_links.refOrient.content %}
<p>Coordonnées :</p>
<ul>
{% if data.rsa_links.refOrient.content.coordonnees.numeroTelephone %}<li>Téléphone : <strong>{{ data.rsa_links.refOrient.content.coordonnees.numeroTelephone|phonenumber_fr }}</strong></li>{% endif %}
{% if data.rsa_links.refOrient.content.coordonnees.courriel %}<li>Email : <strong>{{ data.rsa_links.refOrient.content.coordonnees.courriel }}</strong></li>{% endif %}
</ul>
{% endif %}
{% endif %}
{% endif %}
</div>
</div>
{% if json.data.soumisDD != "Soumis à droit et devoir" %}
<!-- Orienté mais NSDD-->
<div class="pk-information">
<p>Je dois contacter mon référent pour faire le point sur ma situation.</p>
</div>
{% endif %}
{% if json.data.soumisDD == "Soumis à droit et devoir" and data.typeorientation == "Emploi" %}
<!-- Orienté emploi et SDD-->
<h3>Mon numéro de demandeur demploi</h3>
<div class="pk-information">
{% if json.data.poleEmploi.code and not json.data.poleEmploi.radiation %}
<p>Mon numéro de demandeur demploi : <strong>{{ json.data.poleEmploi.code }}</strong></p>
<p>Je suis inscrit à Pôle Emploi. Jai un Projet Personnalisé dAccès à lEmploi. Je dois le respecter.</p>
{% else %}
<p>Mon numéro de demandeur demploi : <strong>Pas dinscription Pôle Emploi enregistrée.</strong></p>
<p>Je ne suis pas inscrit à Pôle Emploi. Je dois minscrire rapidement. Dans le cas contraire, je risque une réduction de mon RSA.</p>
{% endif %}
{% endif %}
{% if json.data.soumisDD == "Soumis à droit et devoir" and data.typeorientation == "Social" %}
<!-- Orienté social et SDD-->
<h3>Mon dernier contrat dinsertion</h3>
{% if not json_engagements.err and json_engagements.data and json_engagements.data.dateDebContrat and data.indexOrientation %}
{% with e=json_engagements.data %}
<div>
<table class="pk-data-table pk-table-borders pk-table-zebra" style="width:100%;">
<tr>
<td style="width:33%;">Date de début du contrat</td>
<td><strong>{{ e.dateDebContrat }}</strong></td>
</tr>
<tr>
<td>Date de fin du contrat</td>
<td><strong>{{ e.dateFinContrat }}</strong></td>
</tr>
<tr>
<td>Objectifs</td>
<td><ul>
{% for obj in e.objectifs %}
<li><strong>{{ obj.libelle }}</strong></li>
{% endfor %}
</ul></td>
</tr>
<tr>
<td>Date du bilan</td>
<td><strong>{{ e.dateBilan|default:"non fixée" }}</strong></td>
</tr>
</table>
<div class="pk-information">
{% now "Y-m-d" as today %}
{% if e.dateFinContrat|strptime:"%d/%m/%Y"|date:"U"|add:"0" >= today|strptime:"%Y-%m-%d"|date:"U"|add:"2678000" %}<p>Jai un contrat dinsertion. Je dois le respecter. En cas de difficultés, je prends contact avec mon référent.</p>{% endif %}
{% if e.dateFinContrat|strptime:"%d/%m/%Y"|date:"U"|add:"0" < today|strptime:"%Y-%m-%d"|date:"U"|add:"2678000" and not e.dateBilan %}<p>Je dois faire le bilan de mon contrat dinsertion. Si ce nest pas déjà fait, je prends contact avec mon référent.</p>{% endif %}
{% if e.dateFinContrat|strptime:"%d/%m/%Y"|date:"U"|add:"0" < today|strptime:"%Y-%m-%d"|date:"U"|add:"2678000" and e.dateBilan %}<p>Pour la suite de mon parcours, si je ne lai pas déjà fait, je prends contact avec mon référent.</p>{% endif %}
</div>
</div>
{% endwith %}
{% else %}
<div class="pk-information"><p>Je nai pas de contrat dinsertion mais je dois en avoir un. Je dois prendre contact avec mon référent.</p></div>
{% endif %}
{% endif %}
{% endwith %}
{% endif %}
<!-- Fin : Orienté -->
</div>
{% endif %} <!-- if not json.err -->