Files
opensem/app/Repositories/Shop
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
..
2023-07-16 14:45:42 +02:00
2024-02-22 19:35:51 +01:00
2023-12-09 21:02:28 +01:00
2024-02-22 19:35:51 +01:00
2025-10-05 09:39:27 +02:00
2024-02-23 08:35:41 +01:00
2024-01-05 01:30:46 +01:00
2025-02-15 12:12:42 +01:00
2024-01-30 23:24:00 +01:00
2025-02-15 12:12:42 +01:00
2023-07-16 14:45:42 +02:00
2024-01-30 23:24:00 +01:00
2025-10-05 09:39:27 +02:00
2023-09-13 22:53:37 +02:00
2023-12-09 21:02:28 +01:00
2023-07-16 14:45:42 +02:00
2024-03-11 19:02:57 +01:00
2024-04-29 22:01:45 +02:00
2023-07-16 14:45:42 +02:00
2024-01-07 20:42:37 +01:00
2023-11-14 00:11:31 +01:00
2025-10-05 09:39:27 +02:00
2024-01-05 01:30:46 +01:00
2024-02-23 08:35:41 +01:00
2024-01-05 01:30:46 +01:00
2024-02-23 08:35:41 +01:00
2024-02-23 08:35:41 +01:00
2024-02-23 08:35:41 +01:00