{% extends 'admin.html.twig' %} {% form_theme form 'default/form/theme.html.twig' %} {% block body %} Neue Reservierung anlegen für {{ lodging.name }} Mögliche Saisons Name Von Bis Preis pro Nacht Pauschalpreis {% for lodgingPrice in lodging.prices %} {{ lodgingPrice.season.name }} {{ lodgingPrice.season.fromDate|date('d-m-y') }} {{ lodgingPrice.season.toDate|date('d-m-y') }} {{ lodgingPrice.perNight }} {{ lodgingPrice.flatPrice }} {% endfor %} Reservierung {{ form_errors(form) }} {{ form_row(form.lodging, {label: 'Objekt'}) }} {{ form_row(form.fromDate , {label: 'Von'}) }} {{ form_row(form.toDate, {label: 'Bis'}) }} {{ form_row(form.status, {label: 'Status'}) }} {#{{ form_row(form.type, {label: 'Typ'}) }}#} Speichern {{ form_rest(form) }} Zurück {% endblock body %}