gruene-seele/app/Http/Controllers/Admin/Inventory
Kevin Adametz 00be848604 Warenwirtschaft: AP-37 — Rohstoffbestand „Enthalten in" nicht mehr doppelt
Jedes Produkt trägt einen Rohstoff i. d. R. in zwei product_ingredients-Zeilen
(recipe_type manufacturer + product); die belongsToMany-Relation Ingredient::products
lieferte das Produkt dadurch doppelt in der „Enthalten in"-Box. In
RawMaterialStockController::show() die Produktliste nach ID dedupliziert
(setRelation), wovon auch der abgeleitete Produktbestand profitiert. Reine
Anzeige-Korrektur, Pivot-Daten unangetastet. Test ergänzt.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-08-27 13:56:56 +00:00
..
ApiOrderLogController.php Warenwirtschaft: Review-Fix — Indizes + schlanke API-Bestellungen-Seite 2026-07-20 13:02:47 +00:00
DeliveryTimeController.php Warenwirtschaft: OPT-2 Settings-CRUD-Basisklasse 2026-07-06 10:05:35 +00:00
DisposalReasonController.php Warenwirtschaft: OPT-2 Settings-CRUD-Basisklasse 2026-07-06 10:05:35 +00:00
GeneralSettingController.php Warenwirtschaft: AP-21 INCI-Erweiterungen 2026-07-06 11:36:28 +00:00
LocationController.php Warenwirtschaft: OPT-2 Settings-CRUD-Basisklasse 2026-07-06 10:05:35 +00:00
MaterialQualityController.php Warenwirtschaft: OPT-2 Settings-CRUD-Basisklasse 2026-07-06 10:05:35 +00:00
NoticeController.php Warenwirtschaft: Audit-Niedrigbefunde N-2/3/4/5/7/8/9/15 2026-07-15 12:57:26 +00:00
OrderFulfillmentController.php Warenwirtschaft: Review-Fix — Abwicklungs-Board (Copyreader-Links, 500er-Cap, Details) 2026-07-20 12:40:03 +00:00
PackagingItemController.php Warenwirtschaft: AP-31 Löschen mit Soft-Delete + Abhängigkeitsprüfung 2026-07-15 12:31:11 +00:00
PackagingMaterialController.php Warenwirtschaft: OPT-2 Settings-CRUD-Basisklasse 2026-07-06 10:05:35 +00:00
ProductDevelopmentController.php Warenwirtschaft: AP-09 bis AP-13 (Produktbestand, Set-Produkte, Ausschuss, Konzepte) 2026-06-03 11:04:22 +00:00
ProductionController.php Warenwirtschaft: Audit-Niedrigbefunde N-2/3/4/5/7/8/9/15 2026-07-15 12:57:26 +00:00
ProductStockController.php Warenwirtschaft: Anforderungsrunde 12.06. — Plan V5.0 + AP-26/AP-25/AP-22 2026-06-12 16:28:45 +00:00
RawMaterialStockController.php Warenwirtschaft: AP-37 — Rohstoffbestand „Enthalten in" nicht mehr doppelt 2026-08-27 13:56:56 +00:00
SettingCrudController.php Warenwirtschaft: AP-31 Löschen mit Soft-Delete + Abhängigkeitsprüfung 2026-07-15 12:31:11 +00:00
StockDisposalController.php Warenwirtschaft: Audit-Niedrigbefunde N-2/3/4/5/7/8/9/15 2026-07-15 12:57:26 +00:00
StockEntryController.php Warenwirtschaft: N-1 — Chargen-Gruppierung je Lieferant (Kundenentscheid 15.07.2026) 2026-07-15 13:25:35 +00:00
StorageRoomController.php Warenwirtschaft: AP-21 INCI-Erweiterungen 2026-07-06 11:36:28 +00:00
StorageShelfController.php Warenwirtschaft: AP-21 INCI-Erweiterungen 2026-07-06 11:36:28 +00:00
StorageSlotController.php Warenwirtschaft: AP-21 INCI-Erweiterungen 2026-07-06 11:36:28 +00:00
SupplierCategoryController.php Warenwirtschaft: OPT-2 Settings-CRUD-Basisklasse 2026-07-06 10:05:35 +00:00
SupplierController.php Warenwirtschaft: AP-31 Löschen mit Soft-Delete + Abhängigkeitsprüfung 2026-07-15 12:31:11 +00:00
TaxRateController.php Warenwirtschaft: OPT-2 Settings-CRUD-Basisklasse 2026-07-06 10:05:35 +00:00