feat: pickup selection depending on bus chaperon
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<ul class="pb-8 divide-y divide-gray-200">
|
||||
{% if assignment.pickup and assignment.effectivePickupDate %}
|
||||
{% if assignment.pickup %}
|
||||
<li class="py-2">
|
||||
<div class="flex items-center justify-between">
|
||||
<span class="flex-1">Busbegleitung {{ assignment.pickup|bpn_pickup_label }} am {{ assignment.effectivePickupDate|date('d.m.Y') }}</span>
|
||||
@@ -22,5 +22,12 @@
|
||||
{% endif %}
|
||||
</div>
|
||||
</li>
|
||||
{% else %}
|
||||
<li class="py-2">
|
||||
<div class="flex items-center justify-between">
|
||||
<span class="flex-1">Keine</span>
|
||||
{{ icon('check', 'w-5 h-5 text-green-500 shrink-0') }}
|
||||
</div>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
Reference in New Issue
Block a user