Mango.Nop.Plugins/Nop.Plugin.Misc.AIPlugin/Areas/Admin/Controllers
Loretta e178c18f80 Add stock-taking enhancements and validation updates
Enhanced stock-taking functionality by introducing the `CloseStockTaking` method in `StockTakingDbContext` to manage session closures with validation. Added the `IsReadyForClose` method to `IMgStockTaking` and its implementation in `MgStockTaking`. Integrated `FruitBankDbContext` for stock updates.

Improved logging in `StockSignalREndpointServer` and added a new SignalR endpoint for closing stock-taking sessions. Updated `AddStockTaking` to initialize properties for new entries.

Simplified loading logic in `OrderItemDtoDbTable` by commenting out unnecessary `.ThenLoad` chains. Enhanced validation in `RefreshStockTakingItemMeasuredValuesFromPallets` and adjusted return statements in `AddOrUpdateMeasuredStockTakingItemPallet` and `UpdateStockTakingItemPallet` to fetch updated entities.

These changes improve maintainability, robustness, and functionality across the codebase.
2025-12-08 15:49:51 +01:00
..
AppDownloadController.cs
CustomDashboardController.cs
CustomOrderController.cs order price fix 2025-11-25 09:48:10 +01:00
CustomOrderSignalREndpoint.cs improvements, fixes, etc... 2025-11-24 08:27:02 +01:00
CustomProductController.cs
FileManagerController.cs
FileManagerScriptsApiController.cs
FruitBankAudioController.cs
FruitBankPluginAdminController.cs
InnVoiceOrderController.cs
InvoiceController.cs
ManagementPageController.cs
ShippingController.cs
StockSignalREndpointServer.cs Add stock-taking enhancements and validation updates 2025-12-08 15:49:51 +01:00