{% extends 'admin_base.html.twig' %} {% block title %}{{ course.name }} - Details{% endblock %} {% block content %}

{{ course.name }}

Kursdetails und Teilnehmerübersicht

Zurück zur Übersicht
Kursinformationen
Grundinformationen

Name: {{ course.name }}

Typ: {% if course.type == 'recurring' %} Fortlaufend {% elseif course.type == 'limited_course' %} Begrenzter Kurs {% elseif course.type == 'holiday_course' %} Ferienkurs {% else %} {{ course.type|title }} {% endif %}

Zielgruppe: {% if course.targetGroup %} {{ course.targetGroup }} {% else %} Nicht definiert {% endif %}

Status: {% if course.isAvailable %} Verfügbar {% else %} Nicht verfügbar {% endif %}

Termine & Standort
{% if course.startDate and course.endDate %}

Zeitraum: {{ course.startDate|date('d.m.Y') }} - {{ course.endDate|date('d.m.Y') }}

{% endif %} {% if course.location %}

Standort: {{ course.location.name }}

{% if course.location.address %}

Adresse: {{ course.location.address }}

{% endif %} {% if course.location.phone %}

Telefon: {{ course.location.phone }}

{% endif %} {% else %}

Kein Standort zugewiesen

{% endif %}
{% if course.extraFields %}
Zusätzliche Informationen

{{ course.extraFields|json_encode }}

{% endif %}
Statistiken
Bestätigte Buchungen: {{ groupedAppointments.confirmed|length }}
Ausstehende Buchungen: {{ groupedAppointments.pending|length }}
Abgesagte Buchungen: {{ groupedAppointments.cancelled|length }}

Gesamt: {{ appointments|length }}
Teilnehmerübersicht
{% for appointment in appointments %} {% set customer = appointment.customer %} {% else %} {% endfor %}
Status Name E-Mail Telefon Buchungsdatum Termin Notizen
{% if appointment.status == 'confirmed' %} Bestätigt {% elseif appointment.status == 'verified' %} Verifiziert {% elseif appointment.status == 'pending' %} Ausstehend {% elseif appointment.status == 'cancelled' %} Abgesagt {% else %} {{ appointment.status|title }} {% endif %} {{ customer.firstName }} {{ customer.lastName }} {{ customer.email }} {% if customer.phone %} {{ customer.phone }} {% else %} Nicht angegeben {% endif %} {{ appointment.createdAt|date('d.m.Y H:i') }} {% if appointment.startTime %} {{ appointment.startTime|date('d.m.Y H:i') }} {% if appointment.endTime %} - {{ appointment.endTime|date('H:i') }} {% endif %} {% else %} Nicht definiert {% endif %} {% if appointment.notes %} {{ appointment.notes|slice(0, 50) }}{% if appointment.notes|length > 50 %}...{% endif %} {% else %} Keine {% endif %}
Keine Teilnehmer gefunden

Für diesen Kurs sind noch keine Buchungen vorhanden.

{% endblock %}