diff --git a/k4ever/buyable/templates/buyables/history.html b/k4ever/buyable/templates/buyables/history.html index 94c3acd..7b74ebc 100644 --- a/k4ever/buyable/templates/buyables/history.html +++ b/k4ever/buyable/templates/buyables/history.html @@ -2,14 +2,36 @@ {% block "content" %} {% if history %} - Your personal history + + + + + + + + + + + + + + {% for order in history.all %} - {{ order }}
- {% for item in order.purchase_set.all %} - {{item }} - {% endfor %} -
+ + + + {% endfor %} +
BuchungEinkauf
BuchungEinkauf
{{ 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 %} +
+
{% else %} {{ error }} Alle alle die Orders :( diff --git a/k4ever/k4ever.db b/k4ever/k4ever.db index 1129fea..2dda0a2 100644 Binary files a/k4ever/k4ever.db and b/k4ever/k4ever.db differ diff --git a/k4ever/main/templates/base.html b/k4ever/main/templates/base.html index dc0f2d1..70b0584 100644 --- a/k4ever/main/templates/base.html +++ b/k4ever/main/templates/base.html @@ -1,23 +1,29 @@ + + + + + + Freitagsrundenkasse