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.

36 lines
899 B

{% extends "base.html" %}
{% block "content" %}
{% if transacted %}
{% if error %}
<font color="red"><b>ARGHZ</b></font>. U broakzt t3h formul4r!
{% else %}
<font color="green"><b>YOU DID IT!</b></font>. You transacted money!
{% endif %}
{% 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 durch: {{ transaction.transactionType }}
{% if not transaction.transactionType.needsCheck or transaction.checked %}
eingegangen
{% else %}
<b> aber noch nicht bestaetigt </b>
{% endif %}
{% if forloop.first and transacted %}
</b>
{% endif %}
<br />
{% endfor %}
{% endblock %}