Source

django-pim / pcbank / templates / pcbank / credit_table.html

Full commit
{% extends "pcbank/base.html" %}

{% block body %}
<table class="table">
<thead>
<tr><th>&nbsp;</th><th>Balance</th><th>Credit</th><th>Payment Due</th></tr>
</thead><tbody>
{% for cc in cc_list %}
<tr><td><b><a href="{{cc.get_absolute_url}}">{{cc.title}}</a>:</b></td><td>${{cc.balance|floatformat:2}}</td><td>${{cc.available_credit|floatformat:2}}</td><td>${{cc.min_payment|floatformat:2}}</td></tr>
{% endfor %}
<tr><td><b>Total:</b></td><td>${{total_balance|floatformat:2}}</td><td>${{total_credit|floatformat:2}}</td><td>${{total_due|floatformat:2}}</td></tr>
</tbody></table>
{% endblock %}