wip: backport booking create flow form handling to edit flow

This commit is contained in:
Björn Fromme
2026-03-16 11:59:10 +01:00
parent e330626b03
commit d70a27f2fd
5 changed files with 143 additions and 32 deletions
+4 -10
View File
@@ -233,17 +233,11 @@
</div>
{% endif %}
{# Room assignment - read-only display #}
{# Room assignment - editable dropdown #}
<div class="grid grid-cols-2 gap-4">
<div>
<label class="font-semibold mb-1 block">Zimmer</label>
{% set room = bookingData.roomForParticipant(participantData.index) %}
{% if room %}
<div class="text-sm">{{ room.label }} ({{ room.individualPrice[participantData.index]|format_currency('EUR') }})</div>
{% else %}
<div class="text-sm text-gray-500">Keine Unterkunft zugeordnet</div>
{% endif %}
</div>
{% if participant.assignedRoomId is defined %}
{{ form_row(participant.assignedRoomId) }}
{% endif %}
{% if participant.remarksRoom is defined %}
{{ form_row(participant.remarksRoom) }}
{% endif %}