{% extends 'layout_admin.html.twig' %} {% block content %} {% set edit_params = { 'id': booking.id } %} {% if app.request.query.get('r') %} {% set edit_params = edit_params | merge({ 'r': app.request.query.get('r') }) %} {% endif %} {{ booking.recordLabel }} · {% include 'admin/accommodation_booking/_status_label.html.twig' %} {{ booking.groupName }}

{{ booking.accommodation.name }}

{# Same arrangement as the edit form: what was booked in the main column, status, the next step and the actions in a sidebar that stays in view on wide screens. #}
Gruppenhaus
{{ booking.accommodation.name }}
Anreise
{{ booking.dateFrom | date('d.m.Y') }}
Abreise
{{ booking.dateTo | date('d.m.Y') }}
Nächte
{{ booking.nights }}
{% if booking.periods is not empty %}
Zeitraum Gruppe
{{ booking.mainDateFrom | date('d.m.Y') }} – {{ booking.mainDateTo | date('d.m.Y') }}, {{ booking.mainNights }} {{ booking.mainNights != 1 ? 'Nächte' : 'Nacht' }}
{% endif %}
Anzahl Personen
{{ booking.paxCount }}
{% if booking.minorsCount > 0 %}
davon Kinder (0–3 Jahre)
{{ booking.minorsCount }}
{% endif %} {% if booking.childrenCount > 0 %}
davon Kinder (4–{{ booking.accommodation.maxAdolescentAge }} Jahre)
{{ booking.childrenCount }}
{% endif %}
{% if booking.boardServiceLabel or booking.additionalServices | length > 0 %}
{% if booking.boardServiceLabel %}
Verpflegung
{{ booking.boardServiceLabel }}
{% endif %} {% for service in booking.additionalServices %}
{{ loop.first ? 'Zusatzleistungen' : '' }}
{{ service.label }}
{% endfor %}
{% endif %} {% if priceBreakdown is not null %} {% set currency = booking.pricingCurrency ?? priceBreakdown.currency %} {% include 'admin/accommodation_booking/_price_breakdown.html.twig' %} {% endif %}
Gruppenname
{{ booking.groupName }}
Anrede
{{ booking.salutation | default('–') }}
Name
{{ booking.firstName }} {{ booking.lastName }}
E-Mail
{{ booking.email }}
Telefon
{{ booking.phone | default('–') }}
Adresse
{% if booking.street %} {{ booking.street }}
{{ booking.zip }} {{ booking.city }} {% else %} – {% endif %}
{% if booking.remarks %}

{{ booking.remarks | nl2br }}

{% endif %}
{% endblock %}