diff --git a/EgwCoreLib.Lux.Data/Controllers/LuxController.cs b/EgwCoreLib.Lux.Data/Controllers/LuxController.cs index 054ec1bb..c895865e 100644 --- a/EgwCoreLib.Lux.Data/Controllers/LuxController.cs +++ b/EgwCoreLib.Lux.Data/Controllers/LuxController.cs @@ -2503,7 +2503,7 @@ namespace EgwCoreLib.Lux.Data.Controllers { DateTime adesso = DateTime.Now; // recupero ordine... - var currRec = dbCtx + dbRec = dbCtx .DbSetOrder .Where(x => x.OrderID == orderId) .Include(x => x.OrderRowNav) @@ -3146,7 +3146,7 @@ namespace EgwCoreLib.Lux.Data.Controllers * - i successivi calcoli di balance/stima saranno fatti x questo SPECIFICO ID GROUP così da fare prima... a sto punto GroupIP potrebbe essere un int 0...n oppure l'id del record... forse meglio il counter 0..n * * */ - int grpIdx = 0; + int grpIdx = 1; // preparo x add nuovi ProductionGroup da analisi ritorno stime List listProdGroup2Add = new List(); // 1: non lavorabili... diff --git a/EgwCoreLib.Lux.Data/Services/DataLayerServices.cs b/EgwCoreLib.Lux.Data/Services/DataLayerServices.cs index 3864fbbc..5236c841 100644 --- a/EgwCoreLib.Lux.Data/Services/DataLayerServices.cs +++ b/EgwCoreLib.Lux.Data/Services/DataLayerServices.cs @@ -1276,7 +1276,7 @@ namespace EgwCoreLib.Lux.Data.Services // cerco in redis... string currKey = $"{redisBaseKey}:Orders:ById:{orderId}"; RedisValue rawData = await redisDb.StringGetAsync(currKey); - if (rawData.HasValue && !doForce) + if (rawData.HasValue && rawData.Length() > 2 && !doForce) { result = JsonConvert.DeserializeObject($"{rawData}"); source = "REDIS"; diff --git a/Lux.API/Lux.API.csproj b/Lux.API/Lux.API.csproj index 154de5e9..343e4a40 100644 --- a/Lux.API/Lux.API.csproj +++ b/Lux.API/Lux.API.csproj @@ -4,7 +4,7 @@ net8.0 enable enable - 0.9.2601.1219 + 0.9.2601.1311 diff --git a/Lux.UI/Components/Compo/OfferRowMan.razor b/Lux.UI/Components/Compo/OfferRowMan.razor index 1e0d3334..0b3a29b5 100644 --- a/Lux.UI/Components/Compo/OfferRowMan.razor +++ b/Lux.UI/Components/Compo/OfferRowMan.razor @@ -193,6 +193,14 @@ else @fSize(item.FileSize) } + @if (PreparedFile.Contains(item.OfferRowUID)) + { +
  • Download
  • + } + else + { +
  • + } @if (CurrEditMode == EditMode.RecData && EditRecord != null && EditRecord.OfferRowID == item.OfferRowID) @@ -376,7 +384,7 @@ else } } -@if(reqSellingItem) +@if (reqSellingItem) {