{% 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 %} {% for period in priceBreakdown.periods | filter(p => p.position == 'leading') %} {% include 'admin/accommodation_booking/_price_period.html.twig' %} {% endfor %} {% if priceBreakdown.periods is not empty %} {% endif %} {% if priceBreakdown.basePrice > 0 %} {% endif %} {% if priceBreakdown.additionalPersonsPrice > 0 %} {% endif %} {% if priceBreakdown.shortTermSurcharge > 0 %} {% endif %} {% if priceBreakdown.boardPrice > 0 %} {% endif %} {% if priceBreakdown.undersubscriptionSurcharge > 0 %} {% endif %} {% for service in priceBreakdown.serviceDetails %} {% if service.price > 0 %} {% endif %} {% endfor %} {% if priceBreakdown.runningCosts > 0 %} {% endif %} {% for period in priceBreakdown.periods | filter(p => p.position == 'trailing') %} {% include 'admin/accommodation_booking/_price_period.html.twig' %} {% endfor %} {% for discount in priceBreakdown.discounts %} {% endfor %} {% if priceBreakdown.discountSubtotal is not null %} {% endif %} {% if priceBreakdown.totalDiscountDetails is not null %} {% endif %} {% if priceBreakdown.discounts is not empty or priceBreakdown.totalDiscountDetails is not null %} {% endif %}
Gruppe · {{ booking.mainDateFrom | date('d.m.Y') }} – {{ booking.mainDateTo | date('d.m.Y') }}, {{ priceBreakdown.nights }} {{ priceBreakdown.nights != 1 ? 'Nächte' : 'Nacht' }}
Basispreis für {{ priceBreakdown.includedPax }} Pers. {{ (priceBreakdown.basePrice / 100) | format_currency(currency) }}
Aufpreis Personenzahl für {{ priceBreakdown.effectivePax - priceBreakdown.includedPax }} Pers. {{ (priceBreakdown.additionalPersonsPrice / 100) | format_currency(currency) }}
Aufpreis Kurzzeit {{ (priceBreakdown.shortTermSurcharge / 100) | format_currency(currency) }}
Verpflegung {{ (priceBreakdown.boardPrice / 100) | format_currency(currency) }}
Verpflegungs-Aufschlag für Gruppen unter {{ priceBreakdown.undersubscriptionThreshold }} Personen {{ (priceBreakdown.undersubscriptionSurcharge / 100) | format_currency(currency) }}
{{ service.label }} {{ (service.price / 100) | format_currency(currency) }}
Strom- und Abfallgebühren {{ (priceBreakdown.runningCosts / 100) | format_currency(currency) }}
Gesamtpreis zzgl. ortsabhängiger Gebühren {{ (priceBreakdown.total / 100) | format_currency(currency) }}
{{ discount.label }} {{ discount.percent }} % – {{ (discount.amount / 100) | format_currency(currency) }}
Zwischensumme {{ (priceBreakdown.discountSubtotal / 100) | format_currency(currency) }}
{{ priceBreakdown.totalDiscountDetails.label }} – {{ (priceBreakdown.totalDiscountDetails.amount / 100) | format_currency(currency) }}
Gesamtpreis nach Rabatt {{ (priceBreakdown.discountedTotal / 100) | format_currency(currency) }}
{% 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 %}