Compare commits

...

18 Commits

Author SHA1 Message Date
6d3c8bffa3 Merge pull request 'ui-improvements' (#749) from ui-improvements into main
Some checks failed
CI/CD Pipeline / deploy-staging (push) Has been cancelled
CI/CD Pipeline / deploy-main (push) Has been cancelled
CI/CD Pipeline / test (push) Has been cancelled
Reviewed-on: #749
2024-09-24 19:43:46 +02:00
615898ead4 Merge branch 'staging' into ui-improvements
All checks were successful
CI/CD Pipeline / test (push) Successful in 11m57s
CI/CD Pipeline / deploy-staging (push) Has been skipped
CI/CD Pipeline / deploy-main (push) Has been skipped
2024-09-19 11:29:11 +02:00
Marie Birner
2663772651 [TASK] style fees page
All checks were successful
CI/CD Pipeline / test (push) Successful in 12m4s
CI/CD Pipeline / deploy-staging (push) Has been skipped
CI/CD Pipeline / deploy-main (push) Has been skipped
2024-09-18 09:58:19 +02:00
Marie Birner
b7e3c882d8 [TASK] change schnupper ui and hopefully improve it
All checks were successful
CI/CD Pipeline / test (push) Successful in 11m10s
CI/CD Pipeline / deploy-staging (push) Has been skipped
CI/CD Pipeline / deploy-main (push) Has been skipped
2024-09-17 13:06:39 +02:00
102cc90a23 Merge pull request 'inform board if more trips than allowed' (#743) from mail-end-scheckbuch into staging
All checks were successful
CI/CD Pipeline / test (push) Successful in 11m6s
CI/CD Pipeline / deploy-staging (push) Successful in 9m7s
CI/CD Pipeline / deploy-main (push) Has been skipped
Reviewed-on: #743
2024-09-12 08:36:09 +02:00
ece64868fe Merge pull request 'mail-end-scheckbuch' (#741) from mail-end-scheckbuch into staging
All checks were successful
CI/CD Pipeline / test (push) Successful in 11m41s
CI/CD Pipeline / deploy-staging (push) Successful in 9m6s
CI/CD Pipeline / deploy-main (push) Has been skipped
Reviewed-on: #741
2024-09-11 23:52:58 +02:00
d0d7da7996 Merge pull request 'art' (#739) from art into staging
All checks were successful
CI/CD Pipeline / test (push) Successful in 11m25s
CI/CD Pipeline / deploy-staging (push) Successful in 9m5s
CI/CD Pipeline / deploy-main (push) Has been skipped
Reviewed-on: #739
2024-09-11 19:10:40 +02:00
abe256af5d Merge pull request 'fix-calender' (#737) from fix-calender into staging
All checks were successful
CI/CD Pipeline / test (push) Successful in 11m3s
CI/CD Pipeline / deploy-staging (push) Successful in 8m37s
CI/CD Pipeline / deploy-main (push) Has been skipped
Reviewed-on: #737
2024-09-11 11:43:18 +02:00
3e14b61ce5 Merge pull request 'cal' (#735) from cal into staging
All checks were successful
CI/CD Pipeline / test (push) Successful in 11m38s
CI/CD Pipeline / deploy-staging (push) Successful in 9m11s
CI/CD Pipeline / deploy-main (push) Has been skipped
Reviewed-on: #735
2024-09-10 23:47:32 +02:00
0eaf3aa92c Merge pull request 'lint' (#733) from lint into staging
All checks were successful
CI/CD Pipeline / test (push) Successful in 11m2s
CI/CD Pipeline / deploy-staging (push) Successful in 8m40s
CI/CD Pipeline / deploy-main (push) Has been skipped
Reviewed-on: #733
2024-09-04 20:53:00 +02:00
582cfd60c8 Merge pull request 'aequatorpreis' (#732) from aequatorpreis into staging
All checks were successful
CI/CD Pipeline / test (push) Successful in 11m1s
CI/CD Pipeline / deploy-staging (push) Successful in 8m42s
CI/CD Pipeline / deploy-main (push) Has been skipped
Reviewed-on: #732
2024-09-04 19:57:55 +02:00
a356e7bd08 Merge pull request 'improvements, styling, additional infos' (#731) from aequatorpreis into staging
All checks were successful
CI/CD Pipeline / test (push) Successful in 11m12s
CI/CD Pipeline / deploy-staging (push) Successful in 8m37s
CI/CD Pipeline / deploy-main (push) Has been skipped
Reviewed-on: #731
2024-09-04 18:42:09 +02:00
d6f354bf34 Merge pull request 'aequatorpreis' (#729) from aequatorpreis into staging
All checks were successful
CI/CD Pipeline / test (push) Successful in 11m4s
CI/CD Pipeline / deploy-staging (push) Successful in 8m34s
CI/CD Pipeline / deploy-main (push) Has been skipped
Reviewed-on: #729
2024-09-04 14:28:46 +02:00
3b3374b0cc Merge pull request 'format' (#724) from format into staging
All checks were successful
CI/CD Pipeline / test (push) Successful in 10m55s
CI/CD Pipeline / deploy-staging (push) Successful in 8m40s
CI/CD Pipeline / deploy-main (push) Has been skipped
Reviewed-on: #724
2024-09-03 21:11:18 +02:00
7ab6d95e23 Merge pull request 'upd' (#721) from upd into staging
Some checks failed
CI/CD Pipeline / test (push) Successful in 11m6s
CI/CD Pipeline / deploy-main (push) Has been cancelled
CI/CD Pipeline / deploy-staging (push) Has been cancelled
Reviewed-on: #721
2024-09-03 20:44:19 +02:00
c4ca148b54 Merge pull request 'delete-cancelled-events' (#719) from delete-cancelled-events into staging
All checks were successful
CI/CD Pipeline / test (push) Successful in 10m55s
CI/CD Pipeline / deploy-staging (push) Successful in 8m25s
CI/CD Pipeline / deploy-main (push) Has been skipped
Reviewed-on: #719
2024-09-03 16:51:35 +02:00
122e5daab2 Merge pull request 'update-deps' (#717) from update-deps into staging
All checks were successful
CI/CD Pipeline / test (push) Successful in 20m41s
CI/CD Pipeline / deploy-staging (push) Successful in 20m56s
CI/CD Pipeline / deploy-main (push) Has been skipped
Reviewed-on: #717
2024-09-02 21:04:36 +02:00
1202b0afec Merge pull request 'updates' (#714) from updates into staging
All checks were successful
CI/CD Pipeline / test (push) Successful in 11m4s
CI/CD Pipeline / deploy-staging (push) Successful in 8m13s
CI/CD Pipeline / deploy-main (push) Has been skipped
Reviewed-on: #714
2024-09-02 13:26:43 +02:00
2 changed files with 30 additions and 26 deletions

View File

@ -8,17 +8,20 @@
role="alert"> role="alert">
<h2 class="h2">Angemeldete Personen: {{ schnupperanten | length }}</h2> <h2 class="h2">Angemeldete Personen: {{ schnupperanten | length }}</h2>
<div class="text-sm p-3"> <div class="text-sm p-3">
<ol class="ms-2" style="list-style: number;"> <ol class="list-decimal">
{% for user in schnupperanten %} {% for user in schnupperanten %}
<li class="py-1" <li class="py-1 ml-4">
{% if "paid" in user.roles %}style="background-color: green;"{% endif %}> <span class="flex items-center justify-between">
{{ user.name }} ({{ user.mail }} <span>
<span class="status-damage status-damage-{% if "paid" in user.roles %}none {% else %}locked {% endif %}"></span>&nbsp;{{ user.name }} ({{ user.mail }}
{%- if user.notes %} | {{ user.notes }} {%- if user.notes %} | {{ user.notes }}
{% endif -%} {% endif -%}
) )
</span>
<a class="btn btn-primary" <a class="btn btn-primary"
href="/admin/user/move/schnupperant/{{ user.id }}/to/scheckbuch" href="/admin/user/move/schnupperant/{{ user.id }}/to/scheckbuch"
onclick="return confirm('Willst du wirklich ein Scheckbuch erstellen? Die Person erhält ein Mail mit allen Infos.')">Zu Scheckbuch umwandeln</a> onclick="return confirm('Willst du wirklich ein Scheckbuch erstellen? Die Person erhält ein Mail mit allen Infos.')">Zu Scheckbuch umwandeln</a>
</span>
</li> </li>
{% endfor %} {% endfor %}
</ol> </ol>

View File

@ -1,43 +1,44 @@
{% import "includes/macros" as macros %} {% import "includes/macros" as macros %}
{% extends "base" %} {% extends "base" %}
{% block content %} {% block content %}
<div class="max-w-screen-lg w-full bg-white dark:bg-primary-900 text-black dark:text-white rounded-md block shadow mt-5"> <div class="max-w-screen-lg w-full">
<h1 class="h1">Gebühren</h1> <h1 class="h1">
<!-- START filterBar --> Gebühren
</h1>
<div class="search-wrapper"> <div class="search-wrapper">
<label for="name" class="sr-only">Suche</label> <label for="name" class="sr-only">Suche</label>
<input type="search" <input type="search"
name="name" name="name"
id="filter-js" id="filter-js"
class="search-bar" class="search-bar"
placeholder="Suchen nach Name" /> placeholder="Suchen nach Namen..." />
</div> </div>
<!-- END filterBar --> <div id="filter-result-js" class="search-result"></div>
<div class="bg-primary-100 dark:bg-primary-950 p-3 rounded-b-md grid gap-4"> <div class="border-r border-l border-gray-200 dark:border-primary-600">
<div id="filter-result-js"
class="text-primary-950 dark:text-white text-right"></div>
{% for fee in fees | sort(attribute="name") %} {% for fee in fees | sort(attribute="name") %}
<div {% if fee.paid %}style="background-color: green;"{% endif %} <div class="border-t border-gray-200 dark:border-primary-600 {% if fee.paid %}bg-[#15803d] text-white {% else %} bg-white {% endif %} dark:bg-primary-900 text-black dark:text-white flex justify-between items-center px-3 py-1 "
data-filterable="true" data-filterable="true"
data-filter="{{ fee.name }} {% if fee.paid %} has-already-paid {% else %} has-not-paid {% endif %}" data-filter="{{ fee.name }} {% if fee.paid %} has-already-paid {% else %} has-not-paid {% endif %}"
class="bg-white dark:bg-primary-900 p-3 rounded-md w-full"> class="bg-white dark:bg-primary-900 p-3 rounded-md w-full">
<div class="grid sm:grid-cols-1 gap-3"> <div class="grid md:grid-cols-3 gap-3 w-full py-3">
<div style="width: 100%" class="col-span-2"> <div>
<b>{{ fee.name }}</b> <strong>{{ fee.name }}</strong>
<span class="block">{{ fee.sum_in_cents / 100 }}€</span>
</div> </div>
<div style="width: 100%">{{ fee.sum_in_cents / 100 }}€:</div> <div>
<div style="width: 100%">
{% for p in fee.parts %} {% for p in fee.parts %}
{{ p.0 }} ({{ p.1 / 100 }}€) {{ p.0 }} ({{ p.1 / 100 }}€)
{% if not loop.last %}+{% endif %} {% if not loop.last %}+{% endif %}
{% endfor %} {% endfor %}
</div> </div>
{% if "admin" in loggedin_user.roles or "kassier" in loggedin_user.roles %} {% if "admin" in loggedin_user.roles or "kassier" in loggedin_user.roles %}
<a href="/admin/user/fees/paid?{{ fee.user_ids }}">Zahlungsstatus ändern</a> <div class="text-end"><a href="/admin/user/fees/paid?{{ fee.user_ids }}" class="btn btn-primary">Zahlungsstatus ändern</a></div>
{% endif %} {% endif %}
</div> </div>
</div> </div>
{% endfor %} {% endfor %}
</div> </div>
</div> </div>
{% endblock content %} {% endblock content %}