Anhänger anlegen, aktivieren und löschen

This commit is contained in:
OpenCode 2026-11-13 01:19:05 +01:00
parent b50267e4f0
commit 5ecbd29d21
15 changed files with 265 additions and 55 deletions

View file

@ -106,7 +106,7 @@ $minWidth = match ($view) {
<span class="trailer-dot" style="--trailer: <?= e($trailer['color_hex']) ?>"></span>
<span class="cal-label__text">
<strong><?= e($trailer['label']) ?></strong>
<small><?= e($trailer['color_name']) ?></small>
<small><?= e($trailer['color_name']) ?><?= (int) $trailer['active'] === 1 ? '' : ' · inaktiv' ?></small>
</span>
<a class="cal-label__add" href="<?= e(url('/bookings/new?trailer=' . (int) $trailer['id'] . '&start=' . $date)) ?>" aria-label="Neue Buchung für <?= e($trailer['label']) ?>">+</a>
</div>