From 272b5b00534fce48bcd7a018d00200b96296595f Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sun, 24 Sep 2023 02:48:08 +0000 Subject: [PATCH] fix tests --- Controller/ApiController.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Controller/ApiController.php b/Controller/ApiController.php index ab1f86c..b5eb1d8 100755 --- a/Controller/ApiController.php +++ b/Controller/ApiController.php @@ -194,6 +194,8 @@ final class ApiController extends Controller // stock changes // all other changes ignore! // check availability again, if not available abort bill + // maybe from an algorithmic point of view first set quantity to zero + // and then do normal algorithm like for a new element } else { StockMovementMapper::delete()->execute($transactions);