{% extends "admin/base.html" %} {% block title %}Buchung: {{ booking.booking_number }}{% endblock %} {% block content %}

{{ booking.booking_number or 'Buchung #' ~ booking.id }}

{{ booking.status_display }} Zurueck
Buchungsdetails
Buchungsnummer {{ booking.booking_number or '-' }}
WordPress ID #{{ booking.wp_booking_id }}
Status {{ booking.status_display }}
Gesamtpreis {{ booking.formatted_price }}
Ticket-Typ {{ booking.ticket_type or '-' }}
Anzahl {{ booking.ticket_count or 1 }}
Kunde
Name {{ booking.customer.display_name }}
E-Mail {{ booking.customer.email }}
Telefon {{ booking.customer_phone or booking.customer.display_phone or '-' }}
Name bei Buchung {{ booking.customer_name or '-' }}
Kurs
Titel {{ booking.kurs_title or '-' }}
WordPress Kurs-ID #{{ booking.wp_kurs_id or '-' }}
Datum {{ booking.formatted_date }}
Uhrzeit {{ booking.formatted_time }}
Ort {{ booking.kurs_location or '-' }}
sevDesk Rechnung
{% if booking.sevdesk_invoice_id %}
Rechnungsnummer {{ booking.sevdesk_invoice_number or '-' }}
sevDesk ID #{{ booking.sevdesk_invoice_id }}
{% else %}

Keine Rechnung verknuepft.

{% endif %}
Zeitstempel
Erstellt (WordPress) {{ booking.wp_created_at.strftime('%d.%m.%Y um %H:%M') if booking.wp_created_at else '-' }}
Importiert {{ booking.created_at.strftime('%d.%m.%Y um %H:%M') if booking.created_at else '-' }}
Letzter Sync {{ booking.synced_at.strftime('%d.%m.%Y um %H:%M') if booking.synced_at else '-' }}
{% if booking.custom_fields %}
Zusatzfelder
{% for key, value in booking.custom_fields.items() %} {% endfor %}
{{ key }} {{ value }}
{% endif %}
{% endblock %}