{% extends 'layout_admin.html.twig' %}
{% block content %}
{% set back_params = { 'id': booking.id } %}
{% if app.request.query.get('r') %}
{% set back_params = back_params | merge({ 'r': app.request.query.get('r') }) %}
{% endif %}
{{ booking.accommodation.name }} {# Only an Entwurf may still move house — see ChangeAccommodationController. #} {% if booking.draft %} {% endif %}
{% form_theme form 'forms_admin.html.twig' %} {{ form_start(form) }} {{ form_errors(form) }} {# Ordered by what gets negotiated: the stay first, the contact data last. The sidebar keeps status, price and the save button in view on wide screens. #}Anreise und Abreise umfassen den ganzen Aufenthalt. Abgeteilte Zeiträume, etwa für ein Vorausteam, werden mit eigenen Positionen berechnet; Personen und Leistungen gelten nur für den Zeitraum der Gruppe.
| {{ booking.mainDateFrom | date('d.m.Y') }} – {{ booking.mainDateTo | date('d.m.Y') }} | {{ booking.mainNights }} {{ booking.mainNights != 1 ? 'Nächte' : 'Nacht' }} | Gruppe |
{# One period per side, so only the free sides are offered. #}
{% if booking.leadingPeriod is null or booking.trailingPeriod is null %}
|
|