feat: accommodation booking type and status as dedicated properties

This commit is contained in:
Björn Fromme
2026-08-06 08:52:09 +02:00
parent 2cfa87f44b
commit aa8fa5c1b2
22 changed files with 218 additions and 151 deletions
@@ -2,11 +2,11 @@
{% block body %}
{% if accessLink %}
<h1>{{ booking.inquiry ? 'Dein Angebot ist bereit' : 'Deine Buchung ist bestätigt' }}</h1>
<h1>{{ booking.accepted ? 'Deine Buchung ist bestätigt' : 'Dein Angebot ist bereit' }}</h1>
<p>
Hallo {{ booking.firstName }},
{% if booking.inquiry %}
{% if not booking.accepted %}
vielen Dank für deine Anfrage! Wir haben sie geprüft — dein Angebot wartet auf dich.
{% else %}
vielen Dank! Deine Buchung ist bei uns eingegangen und bestätigt.
@@ -15,7 +15,7 @@
<p>
<a href="{{ accessLink }}" class="button">
{{ booking.inquiry ? 'Angebot ansehen & bestätigen' : 'Buchung ansehen' }}
{{ booking.accepted ? 'Buchung ansehen' : 'Angebot ansehen & bestätigen' }}
</a>
</p>
{% else %}