refactor: derive the bus escort from the travel date

This commit is contained in:
fromme committed 2026-10-16 08:36:54 +02:00
1 parent 2fc9806c69
commit 0e2021e96d
9 files changed
+59 -50

No files matched your search

@@ -6,7 +6,6 @@
{{ form_row(form.skiAdvanced) }}
{{ form_row(form.split) }}
{{ form_row(form.guiding) }}
{{ form_row(form.busEscort) }}
{{ form_row(form.enabled) }}
</div>
<button type="submit" class="btn">
@@ -15,7 +15,8 @@
</div>
<p class="pb-4">
Für jeden künftigen Termin eines aktiven Produkts legt der Einsatz-Generator die Einsätze als
Entwurf an. Termine, die schon einmal Einsätze hatten, bleiben unberührt.
Entwurf an. Termine, die schon einmal Einsätze hatten, bleiben unberührt. Die Busbegleitung
ergibt sich aus den Zustiegen des Termins: Hat er welche, ist der erste vorausgewählt.
</p>
<div class="data-table-wrapper">
<div class="data-table-wrapper__inner">
@@ -28,7 +29,6 @@
<th>Ski Fortgeschrittene</th>
<th>Split</th>
<th>Guiding</th>
<th>Busbegleitung</th>
<th>aktiv</th>
<th></th>
</tr>
@@ -42,7 +42,6 @@
<td>{{ _self.yes_no(rule.skiAdvanced) }}</td>
<td>{{ _self.yes_no(rule.split) }}</td>
<td>{{ _self.yes_no(rule.guiding) }}</td>
<td>{{ _self.yes_no(rule.busEscort) }}</td>
<td>{{ _self.yes_no(rule.enabled) }}</td>
<td>
<div class="flex items-center space-x-2 justify-end">
@@ -66,7 +65,7 @@
</tr>
{% else %}
<tr>
<td colspan="9">
<td colspan="8">
Keine Daten...
</td>
</tr>