feat: selectable drop-offs for inbound bus travel

This commit is contained in:
Björn Fromme
2026-02-17 11:53:39 +01:00
parent 41b0f56b5b
commit 0884a39f3d
31 changed files with 701 additions and 200 deletions
+12 -2
View File
@@ -267,7 +267,7 @@
{% endif %}
{# An-/Abreise Section #}
{% if participant.transportationOutbound or participant.transportationInbound or participant.pickup or participant.parking or participant.licensePlate %}
{% if participant.hasTransportationData() %}
<div class="px-2 py-1 text-primary-dark/70 text-sm uppercase font-semibold">
An-/Abreise
</div>
@@ -294,7 +294,7 @@
{% endif %}
{% if participant.pickup %}
<tr>
<td class="px-2 pb-2 align-top">Zu-/Ausstieg: {{ participant.pickup.label }}</td>
<td class="px-2 pb-2 align-top">Zustieg: {{ participant.pickup.label }}</td>
<td class="px-2 pb-2 align-top w-24 text-right whitespace-nowrap">
{% if participant.pickup.price is not null and participant.pickup.price != 0 %}
{{ participant.pickup.price|format_currency('EUR') }}
@@ -302,6 +302,16 @@
</td>
</tr>
{% endif %}
{% if participant.dropOff %}
<tr>
<td class="px-2 pb-2 align-top">Ausstieg: {{ participant.dropOff.label }}</td>
<td class="px-2 pb-2 align-top w-24 text-right whitespace-nowrap">
{% if participant.dropOff.price is not null and participant.dropOff.price != 0 %}
{{ participant.dropOff.price|format_currency('EUR') }}
{% endif %}
</td>
</tr>
{% endif %}
{% if participant.parking %}
<tr>
<td class="px-2 pb-2 align-top">Parkplatz</td>