feat: additional confirmation cycle and status for groups inquiries

This commit is contained in:
Björn Fromme
2026-08-18 12:48:17 +02:00
parent 5045846eed
commit 8dee65d0dc
28 changed files with 677 additions and 95 deletions
+12 -4
View File
@@ -24,7 +24,7 @@
{% import _self as macros %}
{% block title %}{{ booking.accepted ? 'Deine Buchung' : 'Dein Angebot' }}{% endblock %}
{% block title %}{{ booking.acceptedAt is not null ? 'Deine Buchung' : 'Dein Angebot' }}{% endblock %}
{% block background %}bg-outer bg-outer--summer{% endblock %}
@@ -52,7 +52,7 @@
<hgroup>
<h1 class="text-2xl lg:text-4xl font-bold mb-2">
{{ booking.accepted ? 'Deine Buchung' : 'Dein Angebot' }}
{{ booking.acceptedAt is not null ? 'Deine Buchung' : 'Dein Angebot' }}
</h1>
<p class="text-2xl">
{{ ctx.accommodation.name }}
@@ -63,7 +63,7 @@
{% if booking.boardServiceLabel or booking.additionalServices | length > 0 %}
<div>
<h2 class="text-xl font-bold mb-2">
{{ booking.accepted ? 'Gebuchte' : 'Angefragte' }} Leistungen
{{ booking.acceptedAt is not null ? 'Gebuchte' : 'Angefragte' }} Leistungen
</h2>
<ul class="list-disc pl-4">
{% if booking.boardServiceLabel %}
@@ -86,11 +86,19 @@
Angebot verbindlich buchen
</button>
</div>
{% elseif booking.confirmedAt is not null %}
<div class="flex items-center space-x-2">
{{ icon('info', 'w-5 h-5') }}
<div class="text-gray-500">
Buchung bestätigt am {{ booking.confirmedAt | date('d.m.Y') }}
</div>
</div>
{% elseif booking.acceptedAt is not null %}
<div class="flex items-center space-x-2">
{{ icon('info', 'w-5 h-5') }}
<div class="text-gray-500">
Angebot angenommen am {{ booking.acceptedAt | date('d.m.Y') }}
Am {{ booking.acceptedAt | date('d.m.Y') }} bei uns eingegangen — wir prüfen deine
Buchung und melden uns mit der Bestätigung bei dir.
</div>
</div>
{% endif %}
+1 -1
View File
@@ -11,7 +11,7 @@
title: 'Vielen Dank!',
messages: [
resultType == 'booking'
? 'Deine Buchung ist bei uns eingegangen. Du erhältst in Kürze eine Bestätigung.'
? 'Deine Buchung ist bei uns eingegangen. Sobald sie geprüft ist, erhälst du eine Bestätigung per E-Mail.'
: 'Deine Anfrage ist bei uns eingegangen. Wir melden uns so schnell wie möglich bei dir.'
]
} %}