Farbnamen nicht mehr an die Anhänger-Bezeichnung hängen

Anhänger heißen im Interface nur noch "Nr. 5" bzw. "Truhe 2"; die Farbe
zeigt der farbige Punkt/Chip. Betroffen: Auswahlliste im Buchungs-
formular, Vorschau-Chip im Formular, Buchungsdetail und Buchungs-Panel.
Cache-Buster auf Version 15.
This commit is contained in:
torsten 2026-11-18 21:50:28 +01:00
parent c61a31b0a8
commit 4a4041e817
5 changed files with 8 additions and 9 deletions

View file

@ -88,8 +88,8 @@ $backUrl = $isEdit ? '/bookings/' . (int) $booking['id'] : '/calendar';
<div class="field-with-aside">
<select name="trailer_id" required data-trailer-select>
<?php foreach ($trailers as $trailer): ?>
<option value="<?= (int) $trailer['id'] ?>" data-color="<?= e($trailer['color_hex']) ?>" data-color-name="<?= e($trailer['color_name']) ?>"<?= (int) $values['trailer_id'] === (int) $trailer['id'] ? ' selected' : '' ?>>
<?= e($trailer['label'] . ' · ' . $trailer['color_name']) ?>
<option value="<?= (int) $trailer['id'] ?>" data-color="<?= e($trailer['color_hex']) ?>"<?= (int) $values['trailer_id'] === (int) $trailer['id'] ? ' selected' : '' ?>>
<?= e($trailer['label']) ?>
</option>
<?php endforeach; ?>
</select>