feat: unify pickup selection

This commit is contained in:
Björn Fromme
2026-03-16 11:59:10 +01:00
parent 0f4b16c194
commit e330626b03
19 changed files with 119 additions and 325 deletions
+3 -13
View File
@@ -336,9 +336,9 @@
}
}) }}
{% endif %}
{% if participant.pickupOutbound is defined %}
{% if participant.pickup is defined %}
<div class="mt-4">
{{ form_row(participant.pickupOutbound, {
{{ form_row(participant.pickup, {
'attr': {
'hx-trigger': 'change',
'hx-post': path('app_booking_edit_refresh', {'id': bookingData.id}),
@@ -381,17 +381,7 @@
}
}) }}
{% endif %}
{% if participant.pickupInbound is defined %}
<div class="mt-4">
{{ form_row(participant.pickupInbound, {
'attr': {
'hx-trigger': 'change',
'hx-post': path('app_booking_edit_refresh', {'id': bookingData.id}),
'hx-swap': 'none'
}
}) }}
</div>
{% endif %}
{# Pickup inbound removed - now unified with pickup field #}
</div>
</div>
</div>