You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
729 B
32 lines
729 B
{% extends "base.html" %}
|
|
|
|
{% block "content" %}
|
|
{% if transacted %}
|
|
<font color="green"><b>YOU DID IT!</b></font>. You transacted money!
|
|
{% endif %}
|
|
<form method="POST" action="/transaction/">
|
|
{% csrf_token %}
|
|
<table>
|
|
{{ form.as_table }}
|
|
</table>
|
|
<input type="submit" value="Senden">
|
|
</form>
|
|
|
|
|
|
{% for transaction in history %}
|
|
{% if forloop.first and transacted %}
|
|
<b>
|
|
{% endif %}
|
|
[ {{ transaction.dateTime }} ] {{ transaction.amount|floatformat:2 }} Euronen, got that by {{ transaction.transactionType }}
|
|
{% if transaction.checked %}
|
|
ist eingegangen
|
|
{% else %}
|
|
noch nicht da
|
|
{% endif %}
|
|
{% if forloop.first and transacted %}
|
|
</b>
|
|
{% endif %}
|
|
<br />
|
|
{% endfor %}
|
|
{% endblock %}
|