Files
gaehsnitz/gaehsnitz/templates/suff/confirm_delete_payment.html
T
flo 51d079a467 Add free-drink toggle, payment deletion, donation flow, expanded dashboard
- Crew can mark bookings as free (Gratis checkbox) on staff_user page;
  free anonymous bookings skip the auto-payment.
- Users (and crew) can delete their UserPayments with a confirmation page.
- Pay page redesigned around "Eintrittsspende": quick-pick amount buttons
  (drinks rounded to 5 € + 10/15/20/25/30), "Nur Drinks" escape, intro
  text, type=text input to dodge browser locale formatting.
- Me page: always-visible donate button, intro text linking drinks +
  Eintrittsspende.
- Day cutoff at 06:00 Berlin: festival day rolls at 06:00, applied to
  current_festival_day plus Frühaufsteher/Nachtschwärmer/Goldene Stunde.
- Dashboard: single Finanzen section (income vs costs) with breakdown,
  fun facts grouped (Trinker / Getränke / Zeit / Geld / Gratis).
- Offene Beträge filtered to open > 0.
- Staff list shows "(das bist du)" disabled row for own user.
- Renamed seed_drinks_2026 -> seed_2026, added Baumarkt 194 € entry.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-26 23:50:25 +02:00

22 lines
739 B
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{% extends "suff/base.html" %}
{% block content %}
<h2>Zahlung löschen?</h2>
<p>
Willst du wirklich diese Zahlung löschen?
</p>
<section class="total-box">
<span class="total-label">{{ payment.get_method_display }}{% if payment.note %} {{ payment.note }}{% endif %}</span>
<span class="total-value">{{ payment.amount|floatformat:2 }} €</span>
<span class="total-label">{{ payment.created_at|date:"d.m. H:i" }}</span>
</section>
<form method="post" action="{% url 'suff:delete_payment' payment.id %}" class="confirm-actions">
{% csrf_token %}
<button type="submit" class="btn-danger">Ja, löschen</button>
<a href="{% url 'suff:pay' %}" class="btn-secondary">Nein, zurück</a>
</form>
{% endblock %}