{% extends "base.html" %} {% block content %} {% with messages = get_flashed_messages() %} {% if messages %}
{% for m in messages %}
{{ m }}
{% endfor %}
{% endif %} {% endwith %}
{% for o in rows %} {% else %} {% endfor %}
Datum Name Handy E-Mail Mannschaft Artikel Größe Menge Zahlungsart Zahlung Notiz Status Aktion
{{ o.created_at }} {{ o.name }} {{ o.handy }} {{ o.email or "–" }} {{ o.mannschaft }} {{ o.artikel }} {{ o.groesse }} {{ o.menge }} {% if o.payment_method == "paypal" %}PayPal {% else %}Bar {% endif %} {% if o.canceled %}– {% elif o.payment_status == "paid" %}Bezahlt {% else %}Unbezahlt {% endif %} {{ o.notiz or "–" }} {% if o.canceled %}Storniert {% elif o.done %}Erledigt {% else %}Offen {% endif %} {% if not o.done and not o.canceled %}
{% if o.payment_status != "paid" %}
{% endif %}
{% else %} – {% endif %}
Historie
Abgeschlossen von: {{ o.completed_by or "–" }}
Abgeschlossen am: {{ o.completed_at or "–" }}
Bezahlt markiert von: {{ o.paid_by or "–" }}
Bezahlt markiert am: {{ o.paid_at or "–" }}
Storniert von: {{ o.canceled_by or "–" }}
Storniert am: {{ o.canceled_at or "–" }}
Keine Bestellungen.
{% endblock %}