gestioCOF/kfet/templates/kfet/account_read.html
Aurélien Delobelle 996baa944c Ajout des relevés
2016-08-11 15:14:23 +02:00

40 lines
1.1 KiB
HTML

{% extends "kfet/base.html" %}
{% block title %}
{% if account.user == request.user %}
Mes informations
{% else %}
Informations du compte {{ account.trigramme }}
{% endif %}
{% endblock %}
{% block content %}
<p>
<a href="{% url 'kfet.account.update' account.trigramme %}">
Modifier les informations
</a>
</p>
<p>Prénom: {{ account.first_name }}</p>
<p>Nom: {{ account.last_name }}</p>
{% if perms.kfet.is_team %}
<p>Surnom: {{ account.nickname }}</p>
{% endif %}
<p>Email: {{ account.email }}</p>
<p>Département: {{ account.departement }}</p>
<p>Promo: {{ account.promo }}</p>
<p>Statut COF: {{ account.is_cof }}</p>
<p>Compte gelé: {{ account.is_frozen }}</p>
<p>Solde: {{ account.balance }} €</p>
{% if account.negative.balance_offset %}
<p>Solde réel: {{ account.real_balance }} €</p>
{% endif %}
{% if account.negative.authorized_overdraft %}
<p>Découvert autorisé: {{ account.negative.authorized_overdraft }} €</p>
{% endif %}
{% if account.negative.start %}
<p>En négatif depuis {{ account.negative.start }}</p>
{% endif %}
{% endblock %}