{% extends 'layout_booking.html.twig' %} {% block title %}Gutschein kaufen{% endblock %} {% block content %} {{ form_start(form, { 'attr': { 'class': 'flex-1 flex flex-col min-h-0', 'novalidate': 'novalidate', 'hx-disabled-elt': 'find button[type=submit]' } }) }} {# Pagination - mobile only #}
{% include 'booking/_pagination.html.twig' with { current_step: 3, step_routes: stepRoutes } %}
{% include 'voucher/_summary.html.twig' %}
{% include '_partials/_flashes.html.twig' %} {# Pagination - desktop only #}

Übersicht

{% from '_partials/_validation_errors.html.twig' import validation_alert %} {{ validation_alert(form, 'Bitte bestätige beide Punkte', false) }}
Gutschein
Motiv {{ voucher.template.label ?? '' }}
Von {{ voucher.from }}
Für {{ voucher.to }}
Käufer:in
{{ voucher.salutation }} {{ voucher.title }} {{ voucher.buyerFullName }}
{{ voucher.address.street }}
{{ voucher.address.country }} - {{ voucher.address.postCode }} {{ voucher.address.city }}
{{ voucher.email }}
Zahlungsart
{{ voucher.paymentMethod.label ?? 'Überweisung' }}
Gesamtpreis {{ voucher.amount|format_currency('EUR') }}
{% if purchasable %}
Bestätigung
{{ form_row(form.termsAccepted, { 'label_attr': {'class': 'text-base font-semibold'} }) }} {{ form_row(form.purchaseConfirmed, { 'label_attr': {'class': 'text-base font-semibold'} }) }}
{% else %} {% do form.termsAccepted.setRendered %} {% do form.purchaseConfirmed.setRendered %} {% endif %}
{% include '_partials/_cancel_button.html.twig' with { cancel_url: path('app_voucher_cancel') } %}
Zurück {% if purchasable %} {% endif %}
{{ form_rest(form) }} {{ form_end(form) }} {% endblock %}