Commit Graph

87 Commits

Author SHA1 Message Date
Loretta 910a7aa852 Enable stock update on closure; adjust logging level
Uncommented the stock quantity and weight update during stock taking closure, ensuring inventory is updated in the database. Changed the log level for this operation from Info to Debug. Added a new using directive and left a commented block for potential future handling of "virtual" stock items.
2026-02-06 22:14:43 +01:00
Loretta c5da19a3ee Add logging for stock taking close operations
Added info logs to CloseStockTaking for invocation and item updates.
Added error log in StockSignalREndpointServer when closing fails.
2026-02-06 18:59:24 +01:00
Loretta ab6fb3ab88 Update DB to PROD; reformat GetAllByProductId method
Switched connection string to use FruitBank_PROD database.
Reformatted GetAllByProductId in OrderDtoDbTable.cs for clarity; no logic changes.
2026-01-06 15:15:57 +01:00
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
Loretta bb553ed35d StockTaking in progress... 2025-12-04 13:52:46 +01:00
Loretta 070d7ec3d2 .Net10, VS2026; StockTaking in progress... 2025-12-01 16:17:57 +01:00
Loretta 3b0b9ccd10 improvements, fixes 2025-11-26 09:42:07 +01:00
Loretta 1673f1fd90 improvements, fixes, etc... 2025-11-24 08:27:02 +01:00
Loretta b5057b9a4d improvements 2025-11-21 16:29:12 +01:00
Loretta 139413b1ae improvements 2025-11-21 07:20:43 +01:00
Loretta dd0d4f2097 improvements, fixes 2025-11-20 08:30:46 +01:00
Loretta 91f1d5b9f8 Merge branch '4.80' of https://git.aycode.com/Adam/Mango.Nop.Plugins into 4.80 2025-11-18 12:52:15 +01:00
Loretta c750b33651 fixes 2025-11-18 12:52:08 +01:00
Adam 2cd76a58a5 Merge branch '4.80' of https://git.aycode.com/Adam/Mango.Nop.Plugins into 4.80 2025-11-18 11:09:33 +01:00
Adam 2c1e692e9d átlagsúly, pdf-to-image, képfeltöltés újratöltve, AI válasz felület 2025-11-18 11:09:14 +01:00
Loretta 0dafd6c5c4 fixes 2025-11-15 15:42:34 +01:00
Loretta 6c58cf6ee8 improvements, fixes, etc.. 2025-11-15 08:14:03 +01:00
Loretta d831ed5cee ??? 2025-11-14 17:56:15 +01:00
Loretta f2e99f3050 improvements, fixes... 2025-11-14 15:04:17 +01:00
Loretta ad5f27a77c UpdateStockQuantityAndWeightAsync 2025-11-14 13:20:21 +01:00
Loretta f72a031a7e StockQuantityHistoryExt, StockQuantityHistoryDto; improvements, fixes; 2025-11-13 19:58:39 +01:00
Loretta 66632fee95 improvements, fixes, etc.. 2025-11-11 20:51:28 +01:00
Loretta 85125132d2 fix: SetOrderStatusToCompleteAsync->GetValueOrDefault<double>(nameof(IMeasuringNetWeight.NetWeight), 0) 2025-11-07 15:51:37 +01:00
Loretta 89eaca8d4a Add Mango.Nop.Data project to solution 2025-11-04 15:57:09 +01:00
Loretta 91c11ffc79 improvements, fixes, etc... 2025-11-04 15:31:49 +01:00
Loretta 5fad900897 Implement OrderItemMeasuringReset to MeasurementService 2025-11-03 06:44:45 +01:00
Loretta d3e2675dc9 imporvements, fixes, etc... 2025-10-31 05:37:35 +01:00
Loretta 0a64131a8e Merge branch '4.80' of https://git.aycode.com/Adam/Mango.Nop.Plugins into 4.80 2025-10-30 14:55:14 +01:00
Loretta 946748134c SignalR improvements; etc... 2025-10-30 14:54:33 +01:00
Adam 30c8cd3e00 Keresés partnerre a rendelések között, Felhasználó létrehozásakor automatikus számlázási cím hozzáadás, adószám szinkronizálás, egyéb kisebb fixek 2025-10-28 03:26:19 +01:00
Loretta 3b2af72d5e CalculatePrices improvements, fixes... 2025-10-25 19:11:17 +02:00
Loretta 343fb818c7 improvements, fixes 2025-10-24 22:43:31 +02:00
Loretta b00bd0508d fixes 2025-10-24 19:33:37 +02:00
Loretta 11b151a9ec Price calculation improvements, fixes, etc... 2025-10-24 15:47:45 +02:00
Loretta f9b302c5d9 fixes 2025-10-24 12:01:48 +02:00
Loretta 1e841467ec Implement CheckAndUpdateProductManageInventoryMethodToManageStock to MgEventConsumer; improvements; 2025-10-24 08:12:35 +02:00
Loretta 3719994ec4 refactoring, cleanup, etc... 2025-10-22 15:16:20 +02:00
Loretta 0c604bde9e noplogger improvements, fixes, etc... 2025-10-21 15:30:43 +02:00
Loretta a261318005 fixes 2025-10-21 08:13:28 +02:00
Loretta 434a058efc fixes, improvements, etc... 2025-10-20 22:42:22 +02:00
Loretta eb62aec34a fix 2025-10-20 19:02:34 +02:00
Loretta c8434ed10f Add MeasurementOwnerId; RevisorId generic attributes to Order; improvements, fixes, etc.. 2025-10-20 16:46:47 +02:00
Loretta a8a84def54 fixes 2025-10-19 13:56:36 +02:00
Loretta 254211459f improvements, fixes, etc 2025-10-19 06:14:40 +02:00
Loretta d02d4dcb09 nuget packages update; fixes 2025-10-18 18:45:50 +02:00
Loretta 0035725399 improvements, fixes, etc... 2025-10-18 08:43:36 +02:00
Loretta ba52be2847 improvements, fixes, etc... 2025-10-16 11:43:51 +02:00
Loretta fbf83e5736 improvements 2025-10-15 15:42:18 +02:00
Loretta 5069b9be80 ... 2025-10-15 07:57:03 +02:00
Loretta d36b647f2f ... 2025-10-13 18:03:27 +02:00