gruene-seele/resources/views/admin
Kevin Adametz 744b36cdcb Warenwirtschaft: AP-35 + AP-39 — Produktionsmengen auf Füllgewicht + ±5 % Abwiegen
AP-35 (Mengenberechnung): Die Hersteller-Rezeptur ist in Prozent hinterlegt; die
Sollmengen skalieren jetzt auf das Füllgewicht statt fest auf ~100 g. Neuer
Faktor recipeGramScale = Füllgewicht/100. Basis = neues, optionales Produkt-Feld
"fill_weight" (g); ist es leer, gilt bei ml-Produkten (unit=1) die Füllmenge
(contents_total) als Gramm (1 g/ml). Ohne Massenbasis (z. B. Stück-Produkte)
bleibt es beim Altverhalten (Anteil = Gramm), sodass Bestandsprodukte/Tests
unverändert rechnen. Skala wird an die Maske durchgereicht (recipe_gram_scale),
damit Client und Server identisch rechnen (Service + 4 JS-Stellen).

AP-39 (Abwiegen): Die Ist-Menge je INCI muss nicht mehr aufs Gramm passen —
assertLinesMatchRecipe erlaubt ±5 % (kleiner absoluter Sockel), gebucht wird der
reale Ist-Wert. Status-Ampel in der Maske: Orange = nichts eingetragen,
Grün = eingetragen und ±5 %, Rot = >5 % daneben (Zahlendreher-Schutz).

Migration add_fill_weight_to_products auf Dev-/Live-DB ausgeführt (nullable).
Product fillable/cast + Produktformular-Feld ergänzt. 5 Tests, Suite 310 grün.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-08-27 14:36:52 +00:00
..
attribute Updates to 03-2025 2025-04-01 10:39:21 +02:00
category commit 08-2025 2025-08-12 15:51:04 +02:00
country commit 08-2025 2025-08-12 15:51:04 +02:00
customer commit 08-2025 2025-08-12 15:51:04 +02:00
ingredient Warenwirtschaft: AP-31 Löschen mit Soft-Delete + Abhängigkeitsprüfung 2026-07-15 12:31:11 +00:00
inventory Warenwirtschaft: AP-35 + AP-39 — Produktionsmengen auf Füllgewicht + ±5 % Abwiegen 2026-08-27 14:36:52 +00:00
lead commit 08-2025 2025-08-12 15:51:04 +02:00
level commit 08-2025 2025-08-12 15:51:04 +02:00
modal Warenwirtschaft: AP-09 bis AP-13 (Produktbestand, Set-Produkte, Ausschuss, Konzepte) 2026-06-03 11:04:22 +00:00
payment April 2026 waren Wirtschaft Feedback 2026-04-10 17:14:38 +02:00
payment_method Updates to 03-2025 2025-04-01 10:39:21 +02:00
product Warenwirtschaft: AP-35 + AP-39 — Produktionsmengen auf Füllgewicht + ±5 % Abwiegen 2026-08-27 14:36:52 +00:00
promotion commit 08-2025 2025-08-12 15:51:04 +02:00
sales Warenwirtschaft: Review-Fix — AP-32-Label als Base64 übertragen (Connector 1.5.0) 2026-07-20 10:06:39 +00:00
settings commit 08-2025 2025-08-12 15:51:04 +02:00
shipping commit 08-2025 2025-08-12 15:51:04 +02:00
site commit 08-2025 2025-08-12 15:51:04 +02:00
stats commit 08-2025 2025-08-12 15:51:04 +02:00
user commit 08-2025 2025-08-12 15:51:04 +02:00
change_email.blade.php commit 08-2025 2025-08-12 15:51:04 +02:00
index.blade.php first commit 2021-01-08 17:48:20 +01:00