Compare commits
No commits in common. "6d3c8bffa3eafa92a6361e770ecf0a279f1e6729" and "56f5b6e8db3e51f30b8d7fb01fda122b4c77a4bb" have entirely different histories.
6d3c8bffa3
...
56f5b6e8db
@ -8,20 +8,17 @@
|
|||||||
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="list-decimal">
|
<ol class="ms-2" style="list-style: number;">
|
||||||
{% for user in schnupperanten %}
|
{% for user in schnupperanten %}
|
||||||
<li class="py-1 ml-4">
|
<li class="py-1"
|
||||||
<span class="flex items-center justify-between">
|
{% if "paid" in user.roles %}style="background-color: green;"{% endif %}>
|
||||||
<span>
|
{{ user.name }} ({{ user.mail }}
|
||||||
<span class="status-damage status-damage-{% if "paid" in user.roles %}none {% else %}locked {% endif %}"></span> {{ user.name }} ({{ user.mail }}
|
{%- if user.notes %} | {{ user.notes }}
|
||||||
{%- if user.notes %} | {{ user.notes }}
|
{% endif -%}
|
||||||
{% endif -%}
|
)
|
||||||
)
|
<a class="btn btn-primary"
|
||||||
</span>
|
href="/admin/user/move/schnupperant/{{ user.id }}/to/scheckbuch"
|
||||||
<a class="btn btn-primary"
|
onclick="return confirm('Willst du wirklich ein Scheckbuch erstellen? Die Person erhält ein Mail mit allen Infos.')">Zu Scheckbuch umwandeln</a>
|
||||||
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>
|
|
||||||
</span>
|
|
||||||
</li>
|
</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ol>
|
</ol>
|
||||||
|
@ -1,44 +1,43 @@
|
|||||||
{% 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">
|
<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">
|
||||||
<h1 class="h1">
|
<h1 class="h1">Gebühren</h1>
|
||||||
Gebühren
|
<!-- START filterBar -->
|
||||||
</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 Namen..." />
|
placeholder="Suchen nach Name" />
|
||||||
</div>
|
</div>
|
||||||
<div id="filter-result-js" class="search-result"></div>
|
<!-- END filterBar -->
|
||||||
<div class="border-r border-l border-gray-200 dark:border-primary-600">
|
<div class="bg-primary-100 dark:bg-primary-950 p-3 rounded-b-md grid gap-4">
|
||||||
|
<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 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 "
|
<div {% if fee.paid %}style="background-color: green;"{% endif %}
|
||||||
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 md:grid-cols-3 gap-3 w-full py-3">
|
<div class="grid sm:grid-cols-1 gap-3">
|
||||||
<div>
|
<div style="width: 100%" class="col-span-2">
|
||||||
<strong>{{ fee.name }}</strong>
|
<b>{{ fee.name }}</b>
|
||||||
<span class="block">{{ fee.sum_in_cents / 100 }}€</span>
|
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div style="width: 100%">{{ fee.sum_in_cents / 100 }}€:</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 %}
|
||||||
<div class="text-end"><a href="/admin/user/fees/paid?{{ fee.user_ids }}" class="btn btn-primary">Zahlungsstatus ändern</a></div>
|
<a href="/admin/user/fees/paid?{{ fee.user_ids }}">Zahlungsstatus ändern</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
{% endblock content %}
|
{% endblock content %}
|
||||||
|
Loading…
Reference in New Issue
Block a user