feat: delete accommodation bookings in draft

This commit is contained in:
Björn Fromme committed 2026-08-20 12:39:45 +02:00
1 parent 3db1850e4f
commit 98a303e941
4 files changed
+264

No files matched your search

@@ -99,6 +99,13 @@
PDF herunterladen
</twig:dropdown:link>
{% endif %}
{# A record that has been in front of the customer gets discarded,
not removed — see DeleteController. #}
{% if booking.draft %}
<twig:dropdown:hxbutton url="{{ path('app_admin_accommodationbooking_delete', { 'id': booking.id, 'r': return_url() }) }}" warning>
löschen
</twig:dropdown:hxbutton>
{% endif %}
</twig:dropdown>
</td>
</tr>