From 26637726514400cf21dcbc1aad8ceb74394aea6c Mon Sep 17 00:00:00 2001 From: Marie Birner Date: Wed, 18 Sep 2024 09:58:19 +0200 Subject: [PATCH] [TASK] style fees page --- templates/admin/user/fees.html.tera | 33 +++++++++++++++-------------- 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/templates/admin/user/fees.html.tera b/templates/admin/user/fees.html.tera index 11ee23f..fc357b2 100644 --- a/templates/admin/user/fees.html.tera +++ b/templates/admin/user/fees.html.tera @@ -1,43 +1,44 @@ {% import "includes/macros" as macros %} {% extends "base" %} {% block content %} -
-

Gebühren

- +
+

+ Gebühren +

+ placeholder="Suchen nach Namen..." />
- -
-
+
+
{% for fee in fees | sort(attribute="name") %} -
-
-
- {{ fee.name }} +
+
+ {{ fee.name }} + {{ fee.sum_in_cents / 100 }}€
-
{{ fee.sum_in_cents / 100 }}€:
-
+
{% for p in fee.parts %} {{ p.0 }} ({{ p.1 / 100 }}€) {% if not loop.last %}+{% endif %} {% endfor %}
{% if "admin" in loggedin_user.roles or "kassier" in loggedin_user.roles %} - Zahlungsstatus ändern + {% endif %}
{% endfor %} +
-
+ + {% endblock content %}