54 lines
1.8 KiB
Twig
54 lines
1.8 KiB
Twig
{% extends 'layout_admin.html.twig' %}
|
|
|
|
{% block content %}
|
|
<twig:page:heading>Neue Buchung</twig:page:heading>
|
|
|
|
{% form_theme form 'forms_admin.html.twig' %}
|
|
|
|
{{ form_start(form) }}
|
|
<div class="grid lg:grid-cols-2 gap-y-4 lg:gap-x-8">
|
|
<div class="lg:col-span-2">
|
|
{{ form_row(form.accommodation) }}
|
|
</div>
|
|
|
|
<h2 class="lg:col-span-2 text-base font-bold pt-2">Kontaktdaten</h2>
|
|
{{ form_row(form.groupName) }}
|
|
{{ form_row(form.salutation) }}
|
|
{{ form_row(form.firstName) }}
|
|
{{ form_row(form.lastName) }}
|
|
{{ form_row(form.email) }}
|
|
{{ form_row(form.phone) }}
|
|
{{ form_row(form.street) }}
|
|
{{ form_row(form.zip) }}
|
|
{{ form_row(form.city) }}
|
|
|
|
<h2 class="lg:col-span-2 text-base font-bold pt-2">Reisedaten</h2>
|
|
{{ form_row(form.dateFrom) }}
|
|
{{ form_row(form.dateTo) }}
|
|
{{ form_row(form.paxCount) }}
|
|
{{ form_row(form.minorsCount) }}
|
|
{{ form_row(form.childrenCount) }}
|
|
|
|
<h2 class="lg:col-span-2 text-base font-bold pt-2">Status & Rabatt</h2>
|
|
<div class="lg:col-span-2">
|
|
{{ form_row(form.isInquiry) }}
|
|
</div>
|
|
{{ form_row(form.accommodationDiscount) }}
|
|
{{ form_row(form.boardServiceDiscount) }}
|
|
{{ form_row(form.additionalServicesDiscount) }}
|
|
<div class="lg:col-span-2">
|
|
{{ form_row(form.remarks) }}
|
|
</div>
|
|
</div>
|
|
<div class="flex justify-between pt-8">
|
|
<a href="{{ path('app_admin_accommodationbooking') }}" class="button button--secondary button--small">
|
|
zurück
|
|
</a>
|
|
<button type="submit" class="button button--primary button--small">
|
|
speichern
|
|
</button>
|
|
</div>
|
|
{{ form_rest(form) }}
|
|
{{ form_end(form) }}
|
|
{% endblock %}
|