Commit 734e97fb authored by thomas's avatar thomas
Browse files

[23100] fix single return to stock of mandator

parent 643f729c
Pipeline #22475 passed with stages
in 4 minutes and 25 seconds
......@@ -156,7 +156,7 @@ public class StockService implements IStockService {
IStockEntry se =
findPreferredStockEntryForArticle(StoreToStringServiceHolder.getStoreToString(article),
null);
mandatorId);
if (se == null) {
return new Status(Status.WARNING, "ch.elexis.core.services",
"No stock entry for article found");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment