Files
opensem/resources/views/Shop
Valentin Lab 63673117b3 fix: enforce stock limits on basket quantities
No stock validation existed in the ordering flow, allowing customers
to order more items than available.

Cap quantity to ``stock_current`` in ``Baskets::getBasketData()`` when
adding to cart. Add ``min=1`` and ``max=stock`` attributes on the
basket quantity input, with JS clamping in the change handler.
Verify stock again in ``Shop\OrderController::store()`` before saving
the order as a race-condition safeguard.
2026-02-20 13:05:31 +01:00
..
2024-02-19 23:51:32 +01:00
2023-10-31 17:05:41 +01:00
2025-02-15 12:12:42 +01:00
2024-01-31 23:45:58 +01:00