Source

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

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

{% block body %}
<table class="table table-condensed">
<tr><td><b>Title:</b></td><td>{{object.title}}</td></tr>
<tr><td><b>Income:</b></td><td>${{object.amount|floatformat:2}}</td></tr>
<tr><td><b>Per month:</b></td><td>{{object.per_month}}</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>
{% if object.per_month > 1 %}
<tr><td><b>Monthly Income:</b></td><td>${{object.monthly_amount|floatformat:2}}</td></tr>
{% endif %}
<tr><td><b>Yearly Income:</b></td><td>${{object.yearly_amount|floatformat:2}}</td></tr>
</table>
<a href="{{object.get_edit_url}}" class="btn">Edit Income</a><br/>
<form action="{{object.payday}}" method="post">{% csrf_token %}
<b>Payday transfer:</b> {% bank_list %}
<input type="submit" value="Do Payment" class="btn btn-primary" />
</form>
{% 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.