[printing/adherent] Affichage de l'adresse si chambre EXT

This commit is contained in:
Valentin Samir 2014-03-15 22:42:49 +01:00
parent db6cf98661
commit 6abc1fbad7

View file

@ -4,7 +4,12 @@
{% endblock%}
{% block proprio %}
{{"Numéro de téléphone : "|coul('gras')}}{{o.tel|telephone|join(', ')}}
{% if o.chbre.0 == 'EXT' and o.postalAddress %}
{{"Adresse : "|coul('gras')}}{{o.postalAddress.0}} {{o.postalAddress.1}}
{{o.postalAddress.2}} {{o.postalAddress.3}}
{% else %}
{{"Chambre : "|coul('gras')}}{{o.chbre.0}} ({{o.chbre.0|string|prise_etat}})
{% endif %}
{{"Études : "|coul('gras')}}{{o.etudes|join(' ')}}
{{"Cotisation payée pour les années : "|coul('gras')}}{{o.paiement|join(' ')}} {% if o.get('controle', []) and 'p' in o.controle.0.value %}{{"(OK)"|coul('vert')}}{% endif %}
{{"Carte d'étudiant fournie pour les années : "|coul('gras')}}{{o.carteEtudiant|join(' ')}} {% if o.get('controle', []) and 'c' in o.controle.0.value %}{{"(OK)"|coul('vert')}}{% endif %}