From ecac8b188cbdb1f5cd6bca8f968eea9e71f10b75 Mon Sep 17 00:00:00 2001 From: Annamaria Sassi Date: Fri, 13 Mar 2026 10:31:35 +0100 Subject: [PATCH] Modificato salvataggio offerta --- Lux.UI/Components/Compo/OfferCommonPar.razor | 4 ++-- Lux.UI/Components/Compo/OfferDelivery.razor | 4 ++-- Lux.UI/Components/Compo/OfferMan.razor | 4 ++-- Lux.UI/Components/Pages/Offers.razor | 4 ++-- Lux.UI/Components/Pages/Offers.razor.cs | 6 +++++- Lux.UI/Lux.UI.csproj | 2 +- Resources/ChangeLog.html | 2 +- Resources/VersNum.txt | 2 +- Resources/manifest.xml | 2 +- 9 files changed, 17 insertions(+), 13 deletions(-) diff --git a/Lux.UI/Components/Compo/OfferCommonPar.razor b/Lux.UI/Components/Compo/OfferCommonPar.razor index 137c7134..7aeb9441 100644 --- a/Lux.UI/Components/Compo/OfferCommonPar.razor +++ b/Lux.UI/Components/Compo/OfferCommonPar.razor @@ -55,11 +55,11 @@ -
+ @*
-
+
*@ } diff --git a/Lux.UI/Components/Compo/OfferDelivery.razor b/Lux.UI/Components/Compo/OfferDelivery.razor index c4719fda..ce1e9de7 100644 --- a/Lux.UI/Components/Compo/OfferDelivery.razor +++ b/Lux.UI/Components/Compo/OfferDelivery.razor @@ -24,11 +24,11 @@ -
+ @*
-
+
*@ } diff --git a/Lux.UI/Components/Compo/OfferMan.razor b/Lux.UI/Components/Compo/OfferMan.razor index aab87a73..0a3ce7c0 100644 --- a/Lux.UI/Components/Compo/OfferMan.razor +++ b/Lux.UI/Components/Compo/OfferMan.razor @@ -52,10 +52,10 @@ -
+ @*
-
+
*@ diff --git a/Lux.UI/Components/Pages/Offers.razor b/Lux.UI/Components/Pages/Offers.razor index 4bb3e4d5..5da62505 100644 --- a/Lux.UI/Components/Pages/Offers.razor +++ b/Lux.UI/Components/Pages/Offers.razor @@ -42,7 +42,7 @@
-
@@ -145,7 +145,7 @@ else - + ID Date diff --git a/Lux.UI/Components/Pages/Offers.razor.cs b/Lux.UI/Components/Pages/Offers.razor.cs index 45fe5658..51bbcba3 100644 --- a/Lux.UI/Components/Pages/Offers.razor.cs +++ b/Lux.UI/Components/Pages/Offers.razor.cs @@ -113,10 +113,14 @@ namespace Lux.UI.Components.Pages EditRecord = curRec; } - protected void DoReset() + protected async Task DoEsc(OfferModel updRec) { EditRecord = null; SelRecord = null; + if (!await JSRuntime.InvokeAsync("confirm", $"Vuoi uscire salvando?")) + return; + // salvo record + await DLService.OffertUpsert(updRec); } protected void DoSelect(OfferModel curRec) diff --git a/Lux.UI/Lux.UI.csproj b/Lux.UI/Lux.UI.csproj index de6f460b..6c37c2fb 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.2603.1207 + 1.1.2603.1310 diff --git a/Resources/ChangeLog.html b/Resources/ChangeLog.html index 7f6402c5..baff22cb 100644 --- a/Resources/ChangeLog.html +++ b/Resources/ChangeLog.html @@ -1,6 +1,6 @@ LUX - Web Windows MES -

Versione: 1.1.2603.1207

+

Versione: 1.1.2603.1310


Note di rilascio:
  • diff --git a/Resources/VersNum.txt b/Resources/VersNum.txt index 73b6257b..99c55132 100644 --- a/Resources/VersNum.txt +++ b/Resources/VersNum.txt @@ -1 +1 @@ -1.1.2603.1207 +1.1.2603.1310 diff --git a/Resources/manifest.xml b/Resources/manifest.xml index d36d2ed9..122035e9 100644 --- a/Resources/manifest.xml +++ b/Resources/manifest.xml @@ -1,6 +1,6 @@ - 1.1.2603.1207 + 1.1.2603.1310 http://nexus.steamware.net/repository/SWS/GPW/stable/GPW.UI.zip http://nexus.steamware.net/repository/SWS/GPW/stable/ChangeLog.html false