{% extends "kfet/base.html" %} {% load kfet_tags %} {% block title %} {% if account.user == request.user %} Mon compte {% else %} Informations du compte {{ account.trigramme }} {% endif %} {% endblock %} {% block content-header-title %} {% if account.user == request.user %} Mon compte {% else %} Compte - {{ account.trigramme }} {% endif %} {% endblock %} {% block content %}
{{ account.trigramme }}
{{ account.balance|ukf:account.is_cof }} UKF
{{ account.name }}
{% if perms.kfet.is_team %}
{{ account.nickname }}
{% endif %}
{% if account.email %} {{ account.email }} {% else %} Pas d'email ! {% endif %}
{{ account.departement }} {{ account.promo }}
Statut COF: {{ account.is_cof }}
{% if account.negative.start %}
En négatif depuis {{ account.negative.start }}
{% endif %} {% if account.negative.balance_offset %}
Solde réel: {{ account.real_balance }} €
{% endif %} {% if account.negative.authz_overdraft_amount %}
Découvert autorisé: {{ account.negative.authz_overdraft_amount }} €
{% endif %} {% if account.negative.authz_overdraft_until %}
Découvert autorisé jusqu'à : {{ account.negative.authz_overdraft_until }}
{% endif %}
{% include "kfet/base_messages.html" %}

Historique

{% spaceless %} {% for ope in history %} {% ifchanged ope.group.at|date:'dmY' %}
{{ ope.group.at|date:'l j F' }}
{% endifchanged %} {% ifchanged ope.group.pk %}
{{ ope.group.at|date:'H:i:s' }} {% if ope.group.on_acc.trigramme == 'LIQ' %} {{ ope.group.amount|floatformat:2 }} {% else %} {{ ope.group.amount|ukf:ope.group.is_cof }} {% endif %}
{% endifchanged %}
{% if ope.group.on_acc.trigramme == 'LIQ' %} {{ ope.amount|floatformat:2 }}€ {% else %} {{ ope.amount|ukf:ope.group.is_cof }} {% endif %} {% if ope.type == "purchase" %} {{ ope.article_nb }} {{ ope.article.name }} {% else %} {{ ope.amount|floatformat:2 }}€ {% if ope.type == "deposit" %}Charge{% else %}Retrait{% endif %} {% endif %}
{% endfor %} {% endspaceless %}
{% endblock %}