Gebinde-Bezeichnung je Produkt + Spalte "Einheiten (ist / soll)"
- Neues Feld products.package_label: pro Artikel einstellbar, wie das Gebinde heisst (Packung, Glas, Tuete, Flasche, Dose, Tube, ...) - Eingabe mit Vorschlagsliste, frei ueberschreibbar. Migration per ADD COLUMN IF NOT EXISTS. - Produkttabelle: Spalte "Packungen" heisst jetzt "Einheiten (ist / soll)" und zeigt Bestand und Mindestbestand als "11 / 12 Glas"; die separate Spalte "Mindest" entfaellt. Das "niedrig"-Badge sitzt jetzt dort. - Die Bezeichnung wird ueberall verwendet (Chargenanzeige, Einheiten-Umschalter beim Bearbeiten, Mindestbestand-Auswahl, Umrechnungshinweis). - Speichern/Abbrechen im Chargen-Editor sind jetzt gleich breit (.btn-pair). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -160,6 +160,9 @@ td .field-inline { margin-bottom: 0; flex-wrap: wrap; }
|
||||
Zahlenfelder duerfen wachsen, Einheiten-Dropdowns behalten ihre Textbreite. */
|
||||
.field-inline > input { flex: 1 1 auto; min-width: 78px; }
|
||||
.field-inline > select { flex: 0 0 auto; width: auto; min-width: 132px; }
|
||||
/* Button-Paare (z.B. Speichern/Abbrechen) gleich breit halten. */
|
||||
.btn-pair { display: flex; gap: var(--sp-2); flex-wrap: wrap; justify-content: flex-end; }
|
||||
.btn-pair .btn { flex: 1 1 auto; min-width: 104px; justify-content: center; }
|
||||
|
||||
/* ---------- Buttons ---------- */
|
||||
.btn {
|
||||
|
||||
Reference in New Issue
Block a user