gruene-seele/tests/Feature
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
..
ApiOrderLogTest.php Warenwirtschaft: Test — API verarbeitet Produkte mit show_on=10 (intern) 2026-07-21 09:42:51 +00:00
BatchPrefixTest.php Warenwirtschaft: AP-24 Chargen-Nr.-Praefix auf Produktebene 2026-07-06 12:09:41 +00:00
ChargeDisposalConsistencyTest.php Warenwirtschaft: OPT-6 Bestandswahrheit — Ausschuss in Chargen-Restmengen (Audit H-1, M-5) 2026-07-15 12:42:46 +00:00
DeliveryTimeSettingsTest.php Warenwirtschaft: AP-00 bis AP-08 + aktualisierter Entwicklungsplan 2026-06-02 16:30:42 +00:00
DisposalReasonSettingsTest.php Warenwirtschaft: Anforderungsrunde 12.06. — Plan V5.0 + AP-26/AP-25/AP-22 2026-06-12 16:28:45 +00:00
ExampleTest.php Warenwirtschaft: OPT-1 Quick Wins + Entwicklungsplan V6.0 2026-07-06 09:54:24 +00:00
IngredientActiveRecipeFilterTest.php Warenwirtschaft: AP-21 INCI-Erweiterungen 2026-07-06 11:36:28 +00:00
IngredientDensityTest.php Warenwirtschaft: AP-42 — Rohstoff-Dichte (g/ml) für ml-Erfassung im Wareneingang 2026-08-28 09:05:07 +00:00
IngredientOrderFieldsTest.php Warenwirtschaft: AP-21 INCI-Erweiterungen 2026-07-06 11:36:28 +00:00
InventoryDeletionTest.php Warenwirtschaft: AP-31 Löschen mit Soft-Delete + Abhängigkeitsprüfung 2026-07-15 12:31:11 +00:00
InventoryNoticesTest.php Warenwirtschaft: Menüpunkt „Leitfaden" (Einstellungen) rendert testleitfaden.md 2026-07-07 10:14:42 +00:00
InventoryPhase2Test.php 13-05-2026 Waren Wirtschaft 2026-05-13 18:09:20 +02:00
InventoryPhase3Test.php 13-05-2026 Waren Wirtschaft 2026-05-13 18:09:20 +02:00
InventoryUrlFieldsTest.php Warenwirtschaft: AP-00 bis AP-08 + aktualisierter Entwicklungsplan 2026-06-02 16:30:42 +00:00
LogisticMailTest.php Warenwirtschaft: Logistik-Mail regeneriert auch fehlende Rechnungs-PDF 2026-07-16 13:19:12 +00:00
OrderFulfillmentTest.php Warenwirtschaft: Review-Fix — Abwicklungs-Board (Copyreader-Links, 500er-Cap, Details) 2026-07-20 12:40:03 +00:00
ProductionHardeningTest.php Warenwirtschaft: N-1 — Chargen-Gruppierung je Lieferant (Kundenentscheid 15.07.2026) 2026-07-15 13:25:35 +00:00
ProductionManufacturerRecipeTest.php Warenwirtschaft: AP-28 Neue Produktions-Maske + Produktionsergebnis 2026-07-06 14:02:54 +00:00
ProductionOutputTest.php Warenwirtschaft: AP-28 Neue Produktions-Maske + Produktionsergebnis 2026-07-06 14:02:54 +00:00
ProductionPhase5Test.php Warenwirtschaft: AP-09 bis AP-13 (Produktbestand, Set-Produkte, Ausschuss, Konzepte) 2026-06-03 11:04:22 +00:00
ProductionScalingTest.php Warenwirtschaft: AP-45 + AP-47 — Verpackung aus Produktionsergebnis, Produktionsrelevant-Flag 2026-08-28 08:38:59 +00:00
ProductOutOfStockTest.php Warenwirtschaft: Anforderungsrunde 12.06. — Plan V5.0 + AP-26/AP-25/AP-22 2026-06-12 16:28:45 +00:00
ProductPhase0Test.php April 2026 waren Wirtschaft Feedback 2026-04-10 17:14:38 +02:00
ProductPhase1Test.php April 2026 waren Wirtschaft Feedback 2026-04-10 17:14:38 +02:00
ProductPhase4Test.php 13-05-2026 Waren Wirtschaft 2026-05-13 18:09:20 +02:00
ProductPhase51Test.php Warenwirtschaft: OPT-9 AuthZ/CSRF-Härtung (Audit M-2, M-3, M-6, M-7, M-10) 2026-07-15 12:55:11 +00:00
ProductSetTest.php Warenwirtschaft: OPT-9 AuthZ/CSRF-Härtung (Audit M-2, M-3, M-6, M-7, M-10) 2026-07-15 12:55:11 +00:00
ProductStockTest.php Warenwirtschaft: Anforderungsrunde 12.06. — Plan V5.0 + AP-26/AP-25/AP-22 2026-06-12 16:28:45 +00:00
ProductWpNumberTest.php Warenwirtschaft: WP-Nummer aus Artikelnummer ableiten, wenn leer 2026-07-21 09:17:53 +00:00
RawMaterialStockTest.php Warenwirtschaft: AP-37 — Rohstoffbestand „Enthalten in" nicht mehr doppelt 2026-08-27 13:56:56 +00:00
RecipePhaseTest.php Warenwirtschaft: AP-36 — Rezeptur-Textphasen ohne Rohstoffe anzeigen 2026-08-27 13:59:51 +00:00
RecipeRobustnessTest.php Warenwirtschaft: OPT-8 Rezeptur-Robustheit (Audit H-4, H-5, M-8, N-11/12/14) 2026-07-15 12:48:55 +00:00
SalesShippedStatusTest.php Warenwirtschaft: SalesController::store() gehärtet (Validierung, Transaktion, Lock) 2026-07-16 07:44:21 +00:00
SaleStockDeductionTest.php Warenwirtschaft: Review-Fix — Mahnwesen-Storno über OrderStatusService::setShipped 2026-07-20 09:47:20 +00:00
StockDisposalTest.php Warenwirtschaft: OPT-1 Quick Wins + Entwicklungsplan V6.0 2026-07-06 09:54:24 +00:00
StockEntryChargeMergeTest.php Warenwirtschaft: N-1 — Chargen-Gruppierung je Lieferant (Kundenentscheid 15.07.2026) 2026-07-15 13:25:35 +00:00
StockEntryPriceTest.php Warenwirtschaft: OPT-9 AuthZ/CSRF-Härtung (Audit M-2, M-3, M-6, M-7, M-10) 2026-07-15 12:55:11 +00:00
StorageSettingsTest.php Warenwirtschaft: AP-31 Löschen mit Soft-Delete + Abhängigkeitsprüfung 2026-07-15 12:31:11 +00:00
SupplierDetailsTest.php Warenwirtschaft: AP-00 bis AP-08 + aktualisierter Entwicklungsplan 2026-06-02 16:30:42 +00:00
SupplierOrderFieldsTest.php Warenwirtschaft: AP-00 bis AP-08 + aktualisierter Entwicklungsplan 2026-06-02 16:30:42 +00:00
TaxRateSettingsTest.php Warenwirtschaft: AP-00 bis AP-08 + aktualisierter Entwicklungsplan 2026-06-02 16:30:42 +00:00
WpLabelTransferTest.php Warenwirtschaft: Review-Fix — AP-32-Label als Base64 übertragen (Connector 1.5.0) 2026-07-20 10:06:39 +00:00