diff --git a/Lux.API/Lux.API.csproj b/Lux.API/Lux.API.csproj index 33ecab23..bccf0fb7 100644 --- a/Lux.API/Lux.API.csproj +++ b/Lux.API/Lux.API.csproj @@ -4,7 +4,7 @@ net8.0 enable enable - 1.1.2606.0812 + 1.1.2606.0817 diff --git a/Lux.UI/Components/Compo/Offer/OfferRowMan.razor.cs b/Lux.UI/Components/Compo/Offer/OfferRowMan.razor.cs index 989683dd..60f1d0e6 100644 --- a/Lux.UI/Components/Compo/Offer/OfferRowMan.razor.cs +++ b/Lux.UI/Components/Compo/Offer/OfferRowMan.razor.cs @@ -742,7 +742,7 @@ namespace Lux.UI.Components.Compo.Offer if (dbRec != null) { // se ho parametri validi di preselezione li applico... - if (!string.IsNullOrEmpty(CurrRecord.DictPresel) && CurrRecord.DictParameter.Count > 0) + if (!string.IsNullOrEmpty(CurrRecord.DictPresel) && CurrRecord.DictParameter.Count > 0 && needRecalc) { // in primis provo conversione diretta var updAnsw = SerialMan.MassUpdate((string)dbRec.SerStruct, CurrRecord.DictParameter); diff --git a/Lux.UI/Components/Pages/ConfListNew.razor b/Lux.UI/Components/Pages/ConfListNew.razor index 8ed9d2c7..21b3a78c 100644 --- a/Lux.UI/Components/Pages/ConfListNew.razor +++ b/Lux.UI/Components/Pages/ConfListNew.razor @@ -1,11 +1,11 @@ @page "/ConfListNew" -
+@*
Configurazioni
-
+
*@
@if (isLoading) diff --git a/Lux.UI/Components/Pages/Offers.razor b/Lux.UI/Components/Pages/Offers.razor index ade66fd9..208a1be5 100644 --- a/Lux.UI/Components/Pages/Offers.razor +++ b/Lux.UI/Components/Pages/Offers.razor @@ -119,7 +119,7 @@ else @foreach (var item in Enum.GetNames(typeof(Enums.OfferStates))) { - + } diff --git a/Lux.UI/Components/Pages/Offers.razor.cs b/Lux.UI/Components/Pages/Offers.razor.cs index 4a4ec7ab..e1761c61 100644 --- a/Lux.UI/Components/Pages/Offers.razor.cs +++ b/Lux.UI/Components/Pages/Offers.razor.cs @@ -216,9 +216,11 @@ namespace Lux.UI.Components.Pages private void DoAdd() { + int refNum = AllRecords.Where(x=>x.RefYear == DateTime.Today.Year).Max(x=>x.RefNum) + 1; EditRecord = new OfferModel() { RefYear = DateTime.Today.Year, + RefNum = refNum, Inserted = DateTime.Today, Description = $"Nuova Offerta {DateTime.Today:ddd yyyy.MM.dd}", ValidUntil = DateTime.Today.AddMonths(1) diff --git a/Lux.UI/Lux.UI.csproj b/Lux.UI/Lux.UI.csproj index fa358f29..a9a1ce85 100644 --- a/Lux.UI/Lux.UI.csproj +++ b/Lux.UI/Lux.UI.csproj @@ -5,7 +5,7 @@ enable enable aspnet-Lux.UI-a758c101-a2f4-4e38-977d-1c4887dbbd50 - 1.1.2606.0812 + 1.1.2606.0817 diff --git a/Resources/ChangeLog.html b/Resources/ChangeLog.html index 994a089a..501b9ee4 100644 --- a/Resources/ChangeLog.html +++ b/Resources/ChangeLog.html @@ -1,6 +1,6 @@ LUX - Web Windows MES -

Versione: 1.1.2606.0812

+

Versione: 1.1.2606.0817


Note di rilascio:
  • diff --git a/Resources/VersNum.txt b/Resources/VersNum.txt index e62de783..d6adb478 100644 --- a/Resources/VersNum.txt +++ b/Resources/VersNum.txt @@ -1 +1 @@ -1.1.2606.0812 +1.1.2606.0817 diff --git a/Resources/manifest.xml b/Resources/manifest.xml index 5abfc866..beae1411 100644 --- a/Resources/manifest.xml +++ b/Resources/manifest.xml @@ -1,6 +1,6 @@ - 1.1.2606.0812 + 1.1.2606.0817 http://nexus.steamware.net/repository/SWS/GPW/stable/GPW.UI.zip http://nexus.steamware.net/repository/SWS/GPW/stable/ChangeLog.html false