From df0dfcec2061819028bb869ffe9cc186604363c8 Mon Sep 17 00:00:00 2001 From: "zaccaria.majid" Date: Fri, 1 Dec 2023 11:42:15 +0100 Subject: [PATCH] fix grafici + fix logout con timeout --- MP-TAB-SERV/Components/CmpFooter.razor.cs | 2 +- MP-TAB-SERV/Components/NotesEditor.razor | 2 +- MP-TAB-SERV/Components/NotesEditor.razor.cs | 5 ++- MP-TAB-SERV/Components/ProdConfirm.razor | 49 ++++++++++----------- MP-TAB-SERV/MP-TAB-SERV.csproj | 2 +- MP-TAB-SERV/Resources/ChangeLog.html | 2 +- MP-TAB-SERV/Resources/VersNum.txt | 2 +- MP-TAB-SERV/Resources/manifest.xml | 2 +- 8 files changed, 33 insertions(+), 33 deletions(-) diff --git a/MP-TAB-SERV/Components/CmpFooter.razor.cs b/MP-TAB-SERV/Components/CmpFooter.razor.cs index e90e41e6..9d669395 100644 --- a/MP-TAB-SERV/Components/CmpFooter.razor.cs +++ b/MP-TAB-SERV/Components/CmpFooter.razor.cs @@ -33,7 +33,7 @@ namespace MP_TAB_SERV.Components { await Task.Delay(1); await InvokeAsync(() => StateHasChanged()); - if(diffOfTime.Minutes > dtTimerScadenzaLogin) + if(diffOfTime.Minutes >= dtTimerScadenzaLogin) { NavMan.NavigateTo("logout"); } diff --git a/MP-TAB-SERV/Components/NotesEditor.razor b/MP-TAB-SERV/Components/NotesEditor.razor index 791921d8..1958a1b7 100644 --- a/MP-TAB-SERV/Components/NotesEditor.razor +++ b/MP-TAB-SERV/Components/NotesEditor.razor @@ -1,5 +1,5 @@ 
- @if (UserComment != "") + @if (!ShowBtn) {
diff --git a/MP-TAB-SERV/Components/NotesEditor.razor.cs b/MP-TAB-SERV/Components/NotesEditor.razor.cs index 5b891c17..20bd31e4 100644 --- a/MP-TAB-SERV/Components/NotesEditor.razor.cs +++ b/MP-TAB-SERV/Components/NotesEditor.razor.cs @@ -155,7 +155,7 @@ namespace MP_TAB_SERV.Components { await Task.Delay(1); ShowBtn = false; - //UserComment = await MServ.CommentoValGet(true); + UserComment = await MServ.CommentoValGet(true); DateSel = await MServ.CommentoDtRifGet(true); await InvokeAsync(StateHasChanged); } @@ -245,7 +245,8 @@ namespace MP_TAB_SERV.Components { UserComment = ""; DateSel = DateTime.Now; - CurrComm = null; + //CurrComm = null; + ShowBtn = true; //StateHasChanged(); } diff --git a/MP-TAB-SERV/Components/ProdConfirm.razor b/MP-TAB-SERV/Components/ProdConfirm.razor index bcc4e7c6..001916b4 100644 --- a/MP-TAB-SERV/Components/ProdConfirm.razor +++ b/MP-TAB-SERV/Components/ProdConfirm.razor @@ -1,17 +1,17 @@  +
+ +
-
- -
-
-
+
+
@if (odlOk) { -
+
@@ -32,32 +32,28 @@
-
-
Pz Prodotti CONFERMATI
- +
Pz Prodotti CONFERMATI
+
+
-
- @if (enablePzProdLasciati) - { -
Pz Prodotti LASCIATI
- - - } - else - { - - } -
+ @if (enablePzProdLasciati) + { +
Pz Prodotti LASCIATI
+
+ +
+ } + else + { + + }
-
- @($"{dtReqUpdate:HH:mm:ss} | {dtReqUpdate:ddd yyyy.MM.dd}") -
-
+
Pz Buoni @lblPz2RecBuoni @@ -67,6 +63,9 @@ @lblPz2RecScarto
+
+ @($"{dtReqUpdate:HH:mm:ss} | {dtReqUpdate:ddd yyyy.MM.dd}") +
@if (showConfirm) { diff --git a/MP-TAB-SERV/MP-TAB-SERV.csproj b/MP-TAB-SERV/MP-TAB-SERV.csproj index da386b70..bfde8a91 100644 --- a/MP-TAB-SERV/MP-TAB-SERV.csproj +++ b/MP-TAB-SERV/MP-TAB-SERV.csproj @@ -3,7 +3,7 @@ net6.0 enable - 6.16.2311.3018 + 6.16.2312.110 enable MP_TAB_SERV diff --git a/MP-TAB-SERV/Resources/ChangeLog.html b/MP-TAB-SERV/Resources/ChangeLog.html index 38abd60d..e5541a35 100644 --- a/MP-TAB-SERV/Resources/ChangeLog.html +++ b/MP-TAB-SERV/Resources/ChangeLog.html @@ -1,6 +1,6 @@ Modulo MAPOSPEC -

Versione: 6.16.2311.3018

+

Versione: 6.16.2312.110


Note di rilascio:
  • diff --git a/MP-TAB-SERV/Resources/VersNum.txt b/MP-TAB-SERV/Resources/VersNum.txt index 2fa44d88..259fa006 100644 --- a/MP-TAB-SERV/Resources/VersNum.txt +++ b/MP-TAB-SERV/Resources/VersNum.txt @@ -1 +1 @@ -6.16.2311.3018 +6.16.2312.110 diff --git a/MP-TAB-SERV/Resources/manifest.xml b/MP-TAB-SERV/Resources/manifest.xml index 29a2b035..73b7d034 100644 --- a/MP-TAB-SERV/Resources/manifest.xml +++ b/MP-TAB-SERV/Resources/manifest.xml @@ -1,6 +1,6 @@ - 6.16.2311.3018 + 6.16.2312.110 https://nexus.steamware.net/repository/SWS/MP-TAB-SERV/stable/LAST/MP-TAB-SERV.zip https://nexus.steamware.net/repository/SWS/MP-TAB-SERV/stable/LAST/ChangeLog.html false