{% if error is defined and error %}

Fehler bei der Verifizierung

{{ error }}

{% else %}

{{ message }}

{% if appointment %}
Ihre Buchungsdetails
{% if appointment.availability %}
Kurs

{{ appointment.availability.name }}

{% endif %} {% if courseDates is defined and courseDates|length > 0 %}
Alle gebuchten Termine
{% for d in courseDates %} {% endfor %}
Datum Uhrzeit Ort
{{ d.date|date('d.m.Y') }} {{ d.startTime|date('H:i') }} - {{ d.endTime|date('H:i') }} {{ d.location }}
{% else %}
Termin

{{ appointment.startTime|date('d.m.Y') }}, {{ appointment.startTime|date('H:i') }}–{{ appointment.endTime|date('H:i') }} Uhr

{% set duration = appointment.endTime.diff(appointment.startTime) %}

{{ duration.h }}h {{ duration.i }}min

{% endif %} {% if appointment.availability and appointment.availability.location %}
Standort

{{ appointment.availability.location.name }}

{% endif %} {% if appointment.extraFieldValues and appointment.extraFieldValues|length > 0 %}
Zusätzliche Informationen
{% for field in appointment.extraFieldValues %}

{{ field.label }}: {% if field.type == 'checkbox' %} {{ field.value ? 'Ja' : 'Nein' }} {% else %} {{ field.value }} {% endif %}

{% endfor %}
{% endif %}
Buchungsinformationen

Buchungsnummer: {{ appointment.bookingToken }}

Status: {% if appointment.status == 'pending' %} Ausstehend {% elseif appointment.status == 'verified' %} Bestätigt {% elseif appointment.status == 'confirmed' %} Bestätigt {% else %} {{ appointment.status }} {% endif %}

Buchungsdatum: {{ appointment.createdAt|date('d.m.Y H:i') }}

Sie erhalten in Kürze eine E-Mail mit allen Details zu Ihrem Termin.

{% endif %} {% endif %}