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
..
2025-12-14 21:25:42 +01:00
2023-10-17 17:20:30 +02:00
2024-01-07 20:42:37 +01:00
2024-01-21 11:42:42 +01:00
2021-07-25 23:19:27 +02:00
2025-02-15 12:12:42 +01:00
2025-02-15 12:12:42 +01:00
2025-10-04 15:37:28 +02:00
2025-02-15 12:12:42 +01:00
2024-03-03 22:52:00 +01:00
2024-01-07 20:42:37 +01:00
2023-09-13 22:53:37 +02:00
2023-09-13 22:53:37 +02:00
2024-02-22 19:35:51 +01:00
2023-07-16 14:45:42 +02:00
2024-02-22 19:35:51 +01:00
2025-01-03 03:46:45 +01:00
2024-03-11 19:02:57 +01:00
2024-01-07 20:42:37 +01:00
2026-02-20 11:38:21 +01:00
2024-02-23 08:35:41 +01:00
2024-01-07 20:42:37 +01:00
2025-10-15 13:17:54 +02:00
2024-02-23 08:35:41 +01:00
2024-01-07 20:42:37 +01:00
2024-01-05 01:30:46 +01:00
2024-01-07 20:42:37 +01:00
2024-01-07 20:42:37 +01:00
2024-01-07 20:42:37 +01:00
2023-07-16 14:45:42 +02:00
2024-02-23 08:35:41 +01:00
2023-12-09 21:02:28 +01:00