Files
opensem/app/Http/Controllers/Admin
Valentin Lab 5c10645af7 new: restore and manage stock on order cancellation
Add ``restoreStock()``, ``decreaseStockForOrder()``, and
``checkStockForOrder()`` to ``OfferStocks``. When an order is cancelled
(status 4), stock is restored. When un-cancelling, stock availability is
checked first—insufficient stock blocks the transition with an error
message—then decremented.
2026-02-20 11:38:21 +01:00
..
2024-03-03 22:52:00 +01:00
2021-07-25 23:19:27 +02:00
2024-02-22 19:35:51 +01:00