Set IsMeasured=true in AddOrUpdateMeasuredStockTakingItemPallet

Ensure all stock taking item pallets are marked as measured
before adding or updating them via the SignalR endpoint.
This commit is contained in:
Loretta 2026-02-07 08:54:40 +01:00
parent 910a7aa852
commit 9bc7d4a27e
1 changed files with 1 additions and 0 deletions

View File

@ -162,6 +162,7 @@ public class StockSignalREndpointServer(StockTakingDbContext ctx, SignalRSendToC
[SignalR(SignalRTags.AddOrUpdateMeasuredStockTakingItemPallet)]
public async Task<StockTakingItemPallet> AddOrUpdateMeasuredStockTakingItemPallet(StockTakingItemPallet stockTakingItemPallet)
{
stockTakingItemPallet.IsMeasured = true;
return await ctx.AddOrUpdateMeasuredStockTakingItemPallet(stockTakingItemPallet);
}
}