forked from DGNum/gestioCOF
49 lines
1.8 KiB
HTML
49 lines
1.8 KiB
HTML
{% load kfet_tags %}
|
|
|
|
<div class="content-left-top {% if account.is_frozen %}frozen-account{% endif %}">
|
|
<div class="line line-big">{{ account.trigramme }}</div>
|
|
<div class="line balance">{{ account.balance|ukf:account.is_cof }} UKF</div>
|
|
<div class="block">
|
|
<div class="line">{{ account.name }}</div>
|
|
{% if perms.kfet.is_team %}
|
|
<div class="line">{{ account.nickname }}</div>
|
|
{% endif %}
|
|
<div class="line">
|
|
{% if account.email %}
|
|
{{ account.email }}
|
|
{% else %}
|
|
Pas d'email !
|
|
{% endif %}
|
|
</div>
|
|
<div class="line">
|
|
{{ account.departement }} {{ account.promo }}
|
|
</div>
|
|
<div class="line">Statut COF: {{ account.is_cof }}</div>
|
|
</div>
|
|
<div class="block block-neg">
|
|
{% if account.negative.start %}
|
|
<div class="line">En négatif depuis {{ account.negative.start }}</div>
|
|
{% endif %}
|
|
{% if account.negative.balance_offset %}
|
|
<div class="line">Solde réel: {{ account.real_balance }} €</div>
|
|
{% endif %}
|
|
{% if account.negative.authz_overdraft_amount %}
|
|
<div class="line">Découvert autorisé: {{ account.negative.authz_overdraft_amount }} €</div>
|
|
{% endif %}
|
|
{% if account.negative.authz_overdraft_until %}
|
|
<div class="line">Découvert autorisé jusqu'à : {{ account.negative.authz_overdraft_until }}</div>
|
|
{% endif %}
|
|
</div>
|
|
</div>
|
|
<div class="buttons">
|
|
{% if account.user == request.user %}
|
|
<ul class='nav nav-pills nav-justified'>
|
|
<li class="active"><a class="btn btn-primary" data-toggle="pill" href="#tab_stats">Statistiques</a></li>
|
|
<li><a class="btn btn-primary" data-toggle="pill" href="#tab_history">Historique</a></li>
|
|
</ul>
|
|
{% endif %}
|
|
<a class="btn btn-primary btn-lg" href="{% url 'kfet.account.update' account.trigramme %}">
|
|
Modifier
|
|
</a>
|
|
<a class="btn btn-primary btn-lg" disabled>Recharger par CB</a>
|
|
</div>
|