gruene-seele/app/Repositories
Kevin Adametz fa852340ee Warenwirtschaft: AP-42 — Rohstoff-Dichte (g/ml) für ml-Erfassung im Wareneingang
Kundenentscheid 26.08.: Rohstoffe werden in Gramm geführt, dürfen aber in ml
erfasst werden; über die Dichte ergeben sich die Gramm (100 ml Propolistinktur
× 0,79 = 79 g).

- Neues Feld ingredients.density (g/ml, optional) inkl. Feld im INCI-Formular.
- Wareneingang: Einheiten-Umschalter g/ml am Mengenfeld (nur wenn Dichte
  hinterlegt; Live-Hinweis mit Gramm-Umrechnung, Dichte kommt aus der
  Rohstoff-Suche mit). Erfassung in ml wird über die Dichte in Gramm
  umgerechnet und kanonisch als Gramm gespeichert — InventoryService und alle
  Aggregationen bleiben unverändert. purchase_unit + density_used (Snapshot)
  protokollieren die ml-Erfassung für Anzeige/Bearbeitung; Detailseite zeigt
  „790 g (= 1.000 ml)". Wareneingang-Buchung rechnet gelieferte ml ebenfalls um.
- Serverseitige Validierung: ml nur mit hinterlegter Dichte.

Migrationen add_density_* auf Dev-/Live-DB. 4 Tests, Suite 318 grün.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-08-28 09:05:07 +00:00
..
AdminPromotionRepository.php Promotion Backend v1 2021-10-15 16:35:47 +02:00
BaseRepository.php first commit 2021-01-08 17:48:20 +01:00
CheckoutRepository.php Updates to 03-2025 2025-04-01 10:39:21 +02:00
ContractPDFRepository.php commit 08-2025 2025-08-12 15:51:04 +02:00
CreditRepository.php commit 08-2025 2025-08-12 15:51:04 +02:00
CustomerRepository.php first commit 2021-01-08 17:48:20 +01:00
FileRepository.php first commit 2021-01-08 17:48:20 +01:00
ImportRepository.php first commit 2021-01-08 17:48:20 +01:00
InvoiceRepository.php Warenwirtschaft: Review-Fix — Altdaten-PDFs zentral regenerieren (ensureFilesOnDisk) 2026-07-20 12:28:41 +00:00
PackagingItemRepository.php 13-05-2026 Waren Wirtschaft 2026-05-13 18:09:20 +02:00
ProductionRepository.php Warenwirtschaft: AP-28 Neue Produktions-Maske + Produktionsergebnis 2026-07-06 14:02:54 +00:00
ProductRepository.php Warenwirtschaft: N-6 — Punkt mit 1-2 Nachkommastellen = Dezimaltrenner (Kundenentscheid 15.07.2026) 2026-07-15 13:25:35 +00:00
StockEntryRepository.php Warenwirtschaft: AP-42 — Rohstoff-Dichte (g/ml) für ml-Erfassung im Wareneingang 2026-08-28 09:05:07 +00:00
SupplierRepository.php Warenwirtschaft: AP-00 bis AP-08 + aktualisierter Entwicklungsplan 2026-06-02 16:30:42 +00:00
UserPromotionRepository.php #10 Promotion Modul, Kommentar 2 2021-11-09 18:40:18 +01:00
UserRepository.php April 2026 waren Wirtschaft Feedback 2026-04-10 17:14:38 +02:00
UserShopRepository.php Updates to 03-2025 2025-04-01 10:39:21 +02:00