From 9bc7d4a27e666eb792d6ef8f4f14419eca091405 Mon Sep 17 00:00:00 2001 From: Loretta Date: Sat, 7 Feb 2026 08:54:40 +0100 Subject: [PATCH] Set IsMeasured=true in AddOrUpdateMeasuredStockTakingItemPallet Ensure all stock taking item pallets are marked as measured before adding or updating them via the SignalR endpoint. --- .../Areas/Admin/Controllers/StockSignalREndpointServer.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Nop.Plugin.Misc.AIPlugin/Areas/Admin/Controllers/StockSignalREndpointServer.cs b/Nop.Plugin.Misc.AIPlugin/Areas/Admin/Controllers/StockSignalREndpointServer.cs index 39d6250..32940ef 100644 --- a/Nop.Plugin.Misc.AIPlugin/Areas/Admin/Controllers/StockSignalREndpointServer.cs +++ b/Nop.Plugin.Misc.AIPlugin/Areas/Admin/Controllers/StockSignalREndpointServer.cs @@ -162,6 +162,7 @@ public class StockSignalREndpointServer(StockTakingDbContext ctx, SignalRSendToC [SignalR(SignalRTags.AddOrUpdateMeasuredStockTakingItemPallet)] public async Task AddOrUpdateMeasuredStockTakingItemPallet(StockTakingItemPallet stockTakingItemPallet) { + stockTakingItemPallet.IsMeasured = true; return await ctx.AddOrUpdateMeasuredStockTakingItemPallet(stockTakingItemPallet); } } \ No newline at end of file