From a0165fd23ed9c17c3cb6e97d3bbd79b1e6a93078 Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Tue, 31 Oct 2023 12:31:14 +0100 Subject: [PATCH] Aggiunto componente x fix ODL --- MP-TAB-SERV/Components/FixOdl.razor | 21 +++++++++++++++ MP-TAB-SERV/Components/FixOdl.razor.cs | 36 ++++++++++++++++++++++++++ MP-TAB-SERV/Components/OdlMan.razor | 2 +- 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 +- 7 files changed, 62 insertions(+), 5 deletions(-) create mode 100644 MP-TAB-SERV/Components/FixOdl.razor create mode 100644 MP-TAB-SERV/Components/FixOdl.razor.cs diff --git a/MP-TAB-SERV/Components/FixOdl.razor b/MP-TAB-SERV/Components/FixOdl.razor new file mode 100644 index 00000000..8856ac12 --- /dev/null +++ b/MP-TAB-SERV/Components/FixOdl.razor @@ -0,0 +1,21 @@ + + +@if (forceOdl) +{ +
+
+

Riassegnazione ODL

+
+
+

Ultimi ODL lavorati:

+ ...tabella... +
+
+ cerca/selezione ODL (miei/tutti) +
+
+ +
+
+} + diff --git a/MP-TAB-SERV/Components/FixOdl.razor.cs b/MP-TAB-SERV/Components/FixOdl.razor.cs new file mode 100644 index 00000000..727da193 --- /dev/null +++ b/MP-TAB-SERV/Components/FixOdl.razor.cs @@ -0,0 +1,36 @@ +using Microsoft.AspNetCore.Components; +using MP.Data.DatabaseModels; + +namespace MP_TAB_SERV.Components +{ + public partial class FixOdl + { + #region Public Properties + + [Parameter] + public MappaStatoExpl? RecMSE { get; set; } = null; + + #endregion Public Properties + + #region Protected Properties + + protected string txtBtnFixOdl { get => forceOdl ? "Fix ODL" : "Nascondi Fix"; } + + #endregion Protected Properties + + #region Protected Methods + + protected void toggleFixOdl() + { + forceOdl = !forceOdl; + } + + #endregion Protected Methods + + #region Private Fields + + private bool forceOdl = false; + + #endregion Private Fields + } +} \ No newline at end of file diff --git a/MP-TAB-SERV/Components/OdlMan.razor b/MP-TAB-SERV/Components/OdlMan.razor index d3f6e180..0461fb4e 100644 --- a/MP-TAB-SERV/Components/OdlMan.razor +++ b/MP-TAB-SERV/Components/OdlMan.razor @@ -12,7 +12,7 @@ @if (!odlOk) {
- +
} } diff --git a/MP-TAB-SERV/MP-TAB-SERV.csproj b/MP-TAB-SERV/MP-TAB-SERV.csproj index b0ca5e40..19275142 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.2310.3111 + 6.16.2310.3112 enable MP_TAB_SERV diff --git a/MP-TAB-SERV/Resources/ChangeLog.html b/MP-TAB-SERV/Resources/ChangeLog.html index 71928185..16d095bb 100644 --- a/MP-TAB-SERV/Resources/ChangeLog.html +++ b/MP-TAB-SERV/Resources/ChangeLog.html @@ -1,6 +1,6 @@ Modulo MAPOSPEC -

Versione: 6.16.2310.3111

+

Versione: 6.16.2310.3112


Note di rilascio: