Source

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

Full commit
Kevin Veroneau fffb63b 











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

{% block body %}
<h2>Cheque Book</h2>
<table class="table">
<thead>
<tr><th>Cheque number</th><th>Amount</th><th>Date</th><th>Transaction</th></tr>
</thead><tbody>
{% for cheque in object_list %}
<tr><td><a href="{{cheque.get_absolute_url}}">{{cheque.number}}</a></td><td>${{cheque.amount|floatformat:2}}</td><td>{{cheque.post_date}}</td><td>{% if cheque.transaction %}<a href="{{cheque.transaction.get_absolute_url}}">{{cheque.transaction}}</a>{% else %}None{% endif %}</td></tr>
{% endfor %}
</tbody></table>
{% endblock %}