{% 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.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. #}| 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) }} |
{{ booking.remarks | nl2br }}