From 56edd76f1e3d8f0fbaee8cee56864a6c7a8ac474 Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Wed, 5 Apr 2023 15:07:20 +0200 Subject: [PATCH] Fix display disabled x add nuovo PODL --- MP.SPEC/MP.SPEC.csproj | 2 +- MP.SPEC/Pages/PODL.razor | 4 ++++ MP.SPEC/Pages/PODL.razor.cs | 15 +++++---------- MP.SPEC/Resources/ChangeLog.html | 2 +- MP.SPEC/Resources/VersNum.txt | 2 +- MP.SPEC/Resources/manifest.xml | 2 +- 6 files changed, 13 insertions(+), 14 deletions(-) diff --git a/MP.SPEC/MP.SPEC.csproj b/MP.SPEC/MP.SPEC.csproj index a9c730e8..f6286ec1 100644 --- a/MP.SPEC/MP.SPEC.csproj +++ b/MP.SPEC/MP.SPEC.csproj @@ -5,7 +5,7 @@ enable enable MP.SPEC - 6.16.2304.509 + 6.16.2304.515 diff --git a/MP.SPEC/Pages/PODL.razor b/MP.SPEC/Pages/PODL.razor index b4f3c371..4eeffbb8 100644 --- a/MP.SPEC/Pages/PODL.razor +++ b/MP.SPEC/Pages/PODL.razor @@ -19,6 +19,10 @@ { } + else + { + + }
diff --git a/MP.SPEC/Pages/PODL.razor.cs b/MP.SPEC/Pages/PODL.razor.cs index 99184db1..24257e6f 100644 --- a/MP.SPEC/Pages/PODL.razor.cs +++ b/MP.SPEC/Pages/PODL.razor.cs @@ -136,6 +136,11 @@ namespace MP.SPEC.Pages } } + protected string addMessage + { + get => addEnabled ? "" : "Manca Selezione Impianto / Fase"; + } + /// /// Crea nuovo record e va in editing... /// @@ -143,16 +148,6 @@ namespace MP.SPEC.Pages protected async Task reqNewPODL() { header = "Nuovo PODL"; -#if false - if (ListArticoli != null && ListArticoli.Count > 0) - { - var firstArt = ListArticoli.FirstOrDefault(x => x.Azienda.StartsWith(currAzienda)); - if (firstArt != null) - { - currArticolo = firstArt.CodArticolo; - } - } -#endif artSearch = ""; string codExt = $"{currFase}"; string codGruppo = ""; diff --git a/MP.SPEC/Resources/ChangeLog.html b/MP.SPEC/Resources/ChangeLog.html index ff7b7900..d9bf726a 100644 --- a/MP.SPEC/Resources/ChangeLog.html +++ b/MP.SPEC/Resources/ChangeLog.html @@ -1,6 +1,6 @@ Modulo MAPOSPEC -

Versione: 6.16.2304.509

+

Versione: 6.16.2304.515


Note di rilascio:
  • diff --git a/MP.SPEC/Resources/VersNum.txt b/MP.SPEC/Resources/VersNum.txt index ee4e3914..580f8e63 100644 --- a/MP.SPEC/Resources/VersNum.txt +++ b/MP.SPEC/Resources/VersNum.txt @@ -1 +1 @@ -6.16.2304.509 +6.16.2304.515 diff --git a/MP.SPEC/Resources/manifest.xml b/MP.SPEC/Resources/manifest.xml index ca56af37..563abd4d 100644 --- a/MP.SPEC/Resources/manifest.xml +++ b/MP.SPEC/Resources/manifest.xml @@ -1,6 +1,6 @@ - 6.16.2304.509 + 6.16.2304.515 https://nexus.steamware.net/repository/SWS/MP-SPEC/stable/LAST/MP.SPEC.zip https://nexus.steamware.net/repository/SWS/MP-SPEC/stable/LAST/ChangeLog.html false