[printing/templates] Controle est optionnel

This commit is contained in:
Valentin Samir 2013-11-20 16:29:09 +01:00
parent a067656f18
commit 55985bd22a

View file

@ -6,6 +6,6 @@
{{"Numéro de téléphone : "|coul('gras')}}{{o.tel|join(', ')}} {{"Numéro de téléphone : "|coul('gras')}}{{o.tel|join(', ')}}
{{"Chambre : "|coul('gras')}}{{o.chbre.0}} ({{o.chbre.0|string|prise_etat}}) {{"Chambre : "|coul('gras')}}{{o.chbre.0}} ({{o.chbre.0|string|prise_etat}})
{{"Études : "|coul('gras')}}{{o.etudes|join(' ')}} {{"Études : "|coul('gras')}}{{o.etudes|join(' ')}}
{{"Cotisation payée pour les années : "|coul('gras')}}{{o.paiement|join(' ')}} {% if 'p' in o.controle.0.value %}{{"(OK)"|coul('vert')}}{% endif %} {{"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 'c' 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 %}
{% endblock%} {% endblock%}