gruene-seele/app/Http/Controllers
Kevin Adametz 6bd867cbe7 Warenwirtschaft: AP-53 — Nacharbeit zur Prüfung 10.09.2026 (Toleranzregel zentral, Sockelrand, Chargenzeile, Ausschuss-Meldung, Auflösung/Obergrenze)
Prüfbericht pruefung-ap53-mengenpraezision-2026-09-10.md, alle Punkte umgesetzt:
- AP53-01: Toleranz nur noch in ProductionService (TOLERANCE_RATIO 0,05, TOLERANCE_FLOOR 0,005, COMPARE_EPSILON); das Produktions-JS rendert die Konstanten aus dem Service statt eigener Zahlen (Ampel hatte noch Sockel 0,05 g).
- AP53-02: withinTolerance() vergleicht mit Float-Ausgleich 1e-9 — 0,025 g auf 0,020 g Soll ist wieder zulässig, 0,026 g nicht; Sollwerte werden nicht gerundet.
- AP53-03: Chargen-Hauptzeile und Standortsumme im Rohstoff-Detail mit formatWawiQuantity(…, 0) (0,125 g statt 0 g).
- AP53-04: Ausschuss-Fehlermeldungen (Request ohne/mit Charge, Controller-Wiederholung) mit formatWawiQuantity().
- 4.1: Obergrenze decimal(12,3) bewusst akzeptiert (Live max. 49.000 g) und als InventoryService::QUANTITY_MAX validiert; Bereichsprüfung + Rollback-Hinweis in der Deploy-Checkliste.
- 4.2: normalizeWawiQuantity() (parsen + drei Stellen) in Bestell-/Wareneingangs-/Ausschuss-Requests, parseQuantity() rundet kanonisch für batch_key- und stock_entry_id-Zeilen; Untergrenze 0,001 g; ml-Eingaben, die umgerechnet 0,000 g ergeben, werden abgelehnt (Store/Update/Receive).
- 4.3: Einkaufs-JS trennt formatQuantity (3), formatPrice (2, wie vor AP-53) und formatDensity (4).
- 4.4: Hinweise präzisiert (Übersichten ganzzahlig, Rundungs-/Untergrenzregel), Leitfaden §26 mit Sockelrand-, Hauptzeilen- und Meldungs-Prüfschritten, Plan V7 und README aktualisiert, Prüfbericht Abschnitt 6 mit Nacharbeitsstand.

Tests: QuantityPrecisionTest +6 (AP53-01…04, 4.2 Rundung/Untergrenze/Obergrenze, ml→0 g). Suite 384 grün / 1.592 Assertions.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-10 07:25:11 +00:00
..
Admin Warenwirtschaft: AP-53 — Nacharbeit zur Prüfung 10.09.2026 (Toleranzregel zentral, Sockelrand, Chargenzeile, Ausschuss-Meldung, Auflösung/Obergrenze) 2026-09-10 07:25:11 +00:00
Api Warenwirtschaft: AP-34 — „-Suffix"-Schema als gewollten Mechanismus dokumentieren 2026-08-28 11:53:34 +00:00
Auth #10 Promotion Modul, Kommentar 2 2021-11-09 18:40:18 +01:00
Pay Updates to 03-2025 2025-04-01 10:39:21 +02:00
Stats commit 08-2025 2025-08-12 15:51:04 +02:00
SyS Updates to 03-2025 2025-04-01 10:39:21 +02:00
User Warenwirtschaft: Anforderungsrunde 12.06. — Plan V5.0 + AP-26/AP-25/AP-22 2026-06-12 16:28:45 +00:00
Web Updates to 03-2025 2025-04-01 10:39:21 +02:00
AdminPromotionController.php Promotion Backend v1 2021-10-15 16:35:47 +02:00
AdminUserController.php Mulit Submits disable, global Tag 2021-08-03 16:01:11 +02:00
AttributeController.php Updates to 03-2025 2025-04-01 10:39:21 +02:00
CategoryController.php 01 2022 Microsite Promotion 2022-01-18 18:30:14 +01:00
Controller.php first commit 2021-01-08 17:48:20 +01:00
CountryController.php Updates to 03-2025 2025-04-01 10:39:21 +02:00
CronController.php Updates to 03-2025 2025-04-01 10:39:21 +02:00
CustomerController.php User Order all Margins / Checkout 2021-01-22 15:54:51 +01:00
DataTableController.php Updates to 03-2025 2025-04-01 10:39:21 +02:00
FileController.php April 2026 waren Wirtschaft Feedback 2026-04-10 17:14:38 +02:00
HomeController.php Updates to 03-2025 2025-04-01 10:39:21 +02:00
ImportProductController.php Updates to 03-2025 2025-04-01 10:39:21 +02:00
IngredientController.php Warenwirtschaft: AP-49 — INCI-Lieferanten-Dropdown nur Rohstoff-Lieferanten 2026-08-28 09:13:42 +00:00
LeadController.php Updates to 03-2025 2025-04-01 10:39:21 +02:00
LeadTypeController.php Updates to 03-2025 2025-04-01 10:39:21 +02:00
MembershipController.php Updates to 03-2025 2025-04-01 10:39:21 +02:00
ModalController.php commit 08-2025 2025-08-12 15:51:04 +02:00
PaymentCreditController.php Updates to 03-2025 2025-04-01 10:39:21 +02:00
PaymentInvoiceController.php commit 08-2025 2025-08-12 15:51:04 +02:00
PaymentMethodController.php Updates to 03-2025 2025-04-01 10:39:21 +02:00
PaymentPayCreditController.php Gutschriften manuell hinzufügen, Yard 0& tax 2021-05-12 15:44:48 +02:00
PaymentReminderController.php commit 08-2025 2025-08-12 15:51:04 +02:00
ProductController.php Warenwirtschaft: F-08 — Füllgewicht mit Nachkommastellen 2026-09-08 10:59:48 +00:00
SalesController.php Warenwirtschaft: Review-Fix — toten Code in SalesController entfernt 2026-07-20 13:19:26 +00:00
SettingController.php testemich Promotion 2022-04-14 13:21:17 +02:00
ShippingController.php first commit 2021-01-08 17:48:20 +01:00
SitesController.php first commit 2021-01-08 17:48:20 +01:00
TemplateController.php first commit 2021-01-08 17:48:20 +01:00
TranslationController.php first commit 2021-01-08 17:48:20 +01:00
TranslationFileController.php first commit 2021-01-08 17:48:20 +01:00
UserDataController.php Updates to 03-2025 2025-04-01 10:39:21 +02:00
UserDeleteController.php first commit 2021-01-08 17:48:20 +01:00
UserLevelController.php Cron Jobs, Reminder, Fonts, Members / Wizard / Price, Credit and Promotion 2023-01-25 12:42:41 +01:00
UserShopController.php commit 08-2025 2025-08-12 15:51:04 +02:00
UserUpdateEmailController.php commit 08-2025 2025-08-12 15:51:04 +02:00
UserUpdatePasswordController.php first commit 2021-01-08 17:48:20 +01:00
WizardController.php Updates to 03-2025 2025-04-01 10:39:21 +02:00