Source

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

Kevin Veroneau fffb63b 






















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

{% block body %}
<table class="table table-condensed">
<tr><td><b>Title:</b></td><td>{{object.title}}</td></tr>
<tr><td><b>Credit:</b></td><td>${{object.credit|floatformat:2}}</td></tr>
<tr><td><b>Balance:</b></td><td>${{object.balance|floatformat:2}}</td></tr>
<tr><td><b>Available Credit:</b></td><td>${{object.available_credit|floatformat:2}}</td></tr>
<tr><td><b>Minimum Payment:</b></td><td>${{object.min_payment|floatformat:2}}</td></tr>
<tr><td><b>Due Date:</b></td><td>{{object.due_date}}</td></tr>
<tr><td><b>Active:</b></td><td>{{object.active}}</td></tr>
<tr><td><b>Added on:</b></td><td>{{object.added_on}}</td></tr>
<tr><td><b>Online banking:</b></td><td><a href="{{object.url}}" class="btn btn-success">Access account</a></td></tr>
</table>
<a href="{{object.get_edit_url}}" class="btn">Edit Credit Card</a>
{% if object.transactions.all %}
<table border="1">
<tr><th>Date</th><th>To</th><th>Amount</th></tr>
{% for transaction in object.transactions.all %}
<tr><td>{{transaction.date}}</td><td><a href="{{transaction.content_object.get_absolute_url}}">{{transaction.content_object}}</a></td><td>${{transaction.amount|floatformat:2}}</td></tr>
{% endfor %}
</table>
{% endif %}
{% endblock %}
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.