From 3d77a2325c8dce7d6504ad3abe9a4c3680e7fb6a Mon Sep 17 00:00:00 2001 From: philipp Date: Mon, 19 Aug 2024 10:57:02 +0200 Subject: [PATCH] allow kassier to change payment stuff --- templates/admin/user/fees.html.tera | 2 +- templates/admin/user/scheckbuch.html.tera | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/admin/user/fees.html.tera b/templates/admin/user/fees.html.tera index a6a18f2..11ee23f 100644 --- a/templates/admin/user/fees.html.tera +++ b/templates/admin/user/fees.html.tera @@ -32,7 +32,7 @@ {% if not loop.last %}+{% endif %} {% endfor %} - {% if "admin" in loggedin_user.roles %} + {% if "admin" in loggedin_user.roles or "kassier" in loggedin_user.roles %} Zahlungsstatus ändern {% endif %} diff --git a/templates/admin/user/scheckbuch.html.tera b/templates/admin/user/scheckbuch.html.tera index 08a6409..3b1aac8 100644 --- a/templates/admin/user/scheckbuch.html.tera +++ b/templates/admin/user/scheckbuch.html.tera @@ -31,7 +31,7 @@
  • {{ log::show_old(log=trip, state="completed", only_ones=false, index=loop.index) }}
  • {% endfor %} - {% if "admin" in loggedin_user.roles %} + {% if "admin" in loggedin_user.roles or "kassier" in loggedin_user.roles %} Zahlungsstatus ändern {% endif %}