diff --git a/k4ever/buyable/templates/buyables/history.html b/k4ever/buyable/templates/buyables/history.html
index 7194808..d777fd6 100644
--- a/k4ever/buyable/templates/buyables/history.html
+++ b/k4ever/buyable/templates/buyables/history.html
@@ -26,34 +26,41 @@
-
+
Buchung |
- Einkauf |
+ Einkauf |
Buchung |
- Einkauf |
+ Einkauf |
{% for order in history.object_list %}
-
+ |
{{ order.dateTime|date:"Y-m-d H:i" }}
|
-
-
- {% for item in order.purchase_set.all %}
- -
- {{ item.buyable.name }}{% if item.isDeposit %} Pfand{% endif %}
- zu {{ item.price|floatformat:2 }} €
-
- {% endfor %}
-
+ |
+
+
+ {% for item in order.purchase_set.all %}
+
+ {% if not item.isDeposit %}
+
+ {% else %}
+ {{ item.buyable.name }} Pfand
+ {% endif %}
+
+ zu {{ item.price|floatformat:2 }} €
+ |
+ {% endfor %}
+
+
|
{% endfor %}