bouches-du-rhone: show new field on beneficiary spouse and children (#70503)
This commit is contained in:
parent
926f9227b2
commit
29206edb1c
|
@ -93,7 +93,16 @@
|
|||
"log_errors" : false,
|
||||
"name" : "RSA Extranet : bénéficiaire",
|
||||
"url" : "{{ passerelle_url }}rsa13/{% firstof slug rsa13_slug \"rsa\" %}/platform/{{ plateforme_id }}/beneficiaire/{{ brsa_id }}/?email={{ user_email }}&ip={{ request.META.REMOTE_ADDR }}",
|
||||
"varnames" : []
|
||||
"varnames" : [],
|
||||
"additional-data" : [
|
||||
{
|
||||
"cache_duration" : 0,
|
||||
"key" : "platforms",
|
||||
"log_errors" : false,
|
||||
"timeout" : 10,
|
||||
"url" : "{{ passerelle_url }}rsa13/{% firstof slug rsa13_slug \"rsa\" %}/platform?email={{ user_email }}&ip={{ request.META.REMOTE_ADDR }}"
|
||||
}
|
||||
]
|
||||
},
|
||||
"rsa13-beneficiaire-action" : {
|
||||
"cache_duration" : 0,
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
{% load combo %}
|
||||
|
||||
{% if not json.err and json.data %}
|
||||
{% with json.data as data %}
|
||||
|
||||
|
@ -27,7 +26,16 @@
|
|||
<p>Conjoint :
|
||||
{% if data.actif == "Oui" %}
|
||||
{% if data.conjoint.nom %}
|
||||
<strong>{{ data.conjoint.nom|upper }} {{ data.conjoint.prenom|default:"(Pas de prénom renseigné)" }}{% if data.conjoint.age %} - {{ data.conjoint.age }}{% endif %}</strong>
|
||||
{% if data.conjoint.plateforme.id in platforms.data|getlist:"id"|list %}
|
||||
<strong><a href="{{ portal_url }}portail-extranet-rsa/plateforme/{{ data.conjoint.plateforme.id }}/beneficiaire-rsa/{{ data.conjoint.id }}/">{{ data.conjoint.nom|upper }} {{ data.conjoint.prenom|default:"(Pas de prénom renseigné)" }}{% if data.conjoint.age %} - {{ data.conjoint.age }}{% endif %}</a></strong>
|
||||
{% else %}
|
||||
<strong>{{ data.conjoint.nom|upper }} {{ data.conjoint.prenom|default:"(Pas de prénom renseigné)" }}{% if data.conjoint.age %} - {{ data.conjoint.age }}{% endif %}</strong>
|
||||
{% endif %}
|
||||
{% if data.conjoint.plateforme.id %}
|
||||
<div>Affectation conjoint : <strong>{{ data.conjoint.plateforme.text }}</strong></div>
|
||||
<div>Référent conjoint : <strong>{{ data.conjoint.referent|default:"Non renseigné" }}</strong></div>
|
||||
{% endif %}
|
||||
<div>Activité conjoint : <strong>{{ data.conjoint.activite|default:"Pas d'activité renseignée" }}</strong></div>
|
||||
{% else %}
|
||||
<strong>Aucun</strong>
|
||||
{% endif %}
|
||||
|
@ -41,7 +49,7 @@
|
|||
{% if data.enfants %}<strong>{{ data.enfants|length }}</strong>
|
||||
<strong>
|
||||
<ul>
|
||||
{% for enfant in data.enfants %}<li>{{ enfant.nom|upper|default:"Pas de nom renseigné" }} {{ enfant.prenom|default:"Pas de prénom renseigné" }}{% if enfant.age %} - {{ enfant.age }}{% endif %}</li>{% endfor %}
|
||||
{% for enfant in data.enfants %}<li>{{ enfant.nom|upper|default:"Pas de nom renseigné" }} {{ enfant.prenom|default:"Pas de prénom renseigné" }}{% if enfant.age %} - {{ enfant.age }} - {{ enfant.activite|default:"Pas d'activité renseignée" }}{% endif %}</li>{% endfor %}
|
||||
</ul>
|
||||
</strong>
|
||||
{% else %}
|
||||
|
|
Loading…
Reference in New Issue