gruene-seele/app/Repositories
Kevin Adametz fa44af0a1f Warenwirtschaft: OPT-8 Rezeptur-Robustheit (Audit H-4, H-5, M-8, N-11/12/14)
- H-4: Rezeptur-Neuaufbau (Delete-then-Insert) in DB::transaction;
  unbekannte Rohstoff-IDs brechen validiert ab (kein FK-Crash nach dem
  Delete mehr), Phasennamen auf varchar(100) gekappt.
- H-5: Phasen werden auch ohne Rohstoffzeilen persistiert — Struktur
  mit Namen/Notizen geht beim Speichern nicht mehr verloren.
- M-8: requiredGramsByIngredient() summiert doppelte Rohstoffe statt
  zu überschreiben.
- N-11: Set-Umstellung löscht Rezeptur-Phasen mit.
- N-12: Auto-Phasenname nach Z: AA, AB, …
- N-14: Legacy-Zweig updateIngredients() nicht mehr destruktiv —
  bestehende gram/factor-Werte bleiben beim Listen-Sync erhalten
  (Verhalten lt. ProductPhase0Test unverändert).

Tests: neuer RecipeRobustnessTest (6). Suite komplett grün.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-15 12:48:55 +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 commit 08-2025 2025-08-12 15:51:04 +02: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: OPT-8 Rezeptur-Robustheit (Audit H-4, H-5, M-8, N-11/12/14) 2026-07-15 12:48:55 +00:00
StockEntryRepository.php Warenwirtschaft: AP-31 Löschen mit Soft-Delete + Abhängigkeitsprüfung 2026-07-15 12:31:11 +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