wip: submit booking to api

This commit is contained in:
Björn Fromme
2026-03-16 11:59:10 +01:00
parent ee264e88d4
commit 7ea52670b9
34 changed files with 3316 additions and 31 deletions
+11
View File
@@ -102,6 +102,17 @@
{{ form_row(participant.email) }}
{{ form_row(participant.mobile) }}
</div>
{% if participant.address is defined %}
<fieldset class="border border-gray-300 rounded p-4 mb-4">
<legend class="font-semibold px-2">{{ participant.address.vars.label }}</legend>
<div class="grid grid-cols-2 gap-4">
{{ form_row(participant.address.street) }}
{{ form_row(participant.address.postCode) }}
{{ form_row(participant.address.city) }}
{{ form_row(participant.address.country) }}
</div>
</fieldset>
{% endif %}
{% if participant.bodyDimensions is defined %}
<div class="grid grid-cols-2 gap-4">
{{ form_row(participant.bodyDimensions.height) }}
+30
View File
@@ -0,0 +1,30 @@
{% extends 'layout.html.twig' %}
{% block title %}Buchung erfolgreich{% endblock %}
{% block content %}
<div class="max-w-2xl mx-auto text-center py-12">
<div class="mb-8">
<svg class="w-24 h-24 text-green-500 mx-auto" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"></path>
</svg>
</div>
<h1 class="text-3xl font-bold mb-4">Buchung erfolgreich abgeschlossen</h1>
<p class="text-xl mb-8">
Ihre Buchungsnummer: <strong class="font-mono">{{ bookingNumber }}</strong>
</p>
<div class="bg-blue-50 border border-blue-200 rounded-lg p-6 mb-8">
<p class="text-gray-700">
Sie erhalten in Kürze eine Bestätigungs-E-Mail mit allen Details zu Ihrer Buchung.
</p>
</div>
<a href="https://www.ep-reisen.de" class="button bg-button bg-button--primary">
Zurück zur Startseite
</a>
</div>
{% endblock %}