From 5b1a067fc329487c4c202bb445f73992c8b5beaa Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Fri, 2 Aug 2024 08:50:44 +0200 Subject: [PATCH] COmpletata gestione spezzoni x editing e display dettaglio --- MagMan.UI/Components/ItemEdit.razor | 27 ++++++++++++++++---------- MagMan.UI/Components/ItemEdit.razor.cs | 6 ++++++ MagMan.UI/Components/ItemMan.razor | 11 +++++++++++ MagMan.UI/Components/ItemMan.razor.cs | 2 +- MagMan.UI/MagMan.UI.csproj | 2 +- Resources/ChangeLog.html | 2 +- Resources/VersNum.txt | 2 +- Resources/manifest.xml | 2 +- 8 files changed, 39 insertions(+), 15 deletions(-) diff --git a/MagMan.UI/Components/ItemEdit.razor b/MagMan.UI/Components/ItemEdit.razor index 5e6cbde..98680ba 100644 --- a/MagMan.UI/Components/ItemEdit.razor +++ b/MagMan.UI/Components/ItemEdit.razor @@ -1,20 +1,27 @@ @if (CurrRecord != null) {
-
+
-
-
- - @* *@ +
+
+
+ +
- + + @*
+
+
-
+
+ *@ +
+
- +
-
+
@@ -24,7 +31,7 @@
-
+
@if (CurrRecord.MaterialNav.IsWall) diff --git a/MagMan.UI/Components/ItemEdit.razor.cs b/MagMan.UI/Components/ItemEdit.razor.cs index 559d960..20412b9 100644 --- a/MagMan.UI/Components/ItemEdit.razor.cs +++ b/MagMan.UI/Components/ItemEdit.razor.cs @@ -51,6 +51,12 @@ namespace MagMan.UI.Components } } + protected bool IsAcquisto + { + get => !(CurrRecord!.IsRemn); + set => CurrRecord!.IsRemn = !value; + } + #endregion Protected Methods #region Private Properties diff --git a/MagMan.UI/Components/ItemMan.razor b/MagMan.UI/Components/ItemMan.razor index 1ddd454..56a4213 100644 --- a/MagMan.UI/Components/ItemMan.razor +++ b/MagMan.UI/Components/ItemMan.razor @@ -60,6 +60,7 @@ Qty ID + A/S Note Posizione @if (MaterialSel.IsWall) @@ -109,6 +110,16 @@ }  @item.RawItemId + + @if(item.IsRemn) + { + + } + else + { + + } + @item.Note diff --git a/MagMan.UI/Components/ItemMan.razor.cs b/MagMan.UI/Components/ItemMan.razor.cs index 7757bec..b071938 100644 --- a/MagMan.UI/Components/ItemMan.razor.cs +++ b/MagMan.UI/Components/ItemMan.razor.cs @@ -57,7 +57,7 @@ namespace MagMan.UI.Components } protected string remnMessage { - get => showRemn ? "Mostra Spezzoni" : "Solo Acquisto"; + get => "Mostra Spezzoni";// showRemn ? "Mostra Spezzoni" : "Solo Acquisto"; } [Inject] diff --git a/MagMan.UI/MagMan.UI.csproj b/MagMan.UI/MagMan.UI.csproj index f795d99..123d299 100644 --- a/MagMan.UI/MagMan.UI.csproj +++ b/MagMan.UI/MagMan.UI.csproj @@ -2,7 +2,7 @@ net6.0 - 1.0.2408.0119 + 1.0.2408.0208 enable enable true diff --git a/Resources/ChangeLog.html b/Resources/ChangeLog.html index 72b5707..ab62d39 100644 --- a/Resources/ChangeLog.html +++ b/Resources/ChangeLog.html @@ -1,6 +1,6 @@ MagMan - Wood Warehouse Management System -

Versione: 1.0.2408.0119

+

Versione: 1.0.2408.0208


Note di rilascio:
  • diff --git a/Resources/VersNum.txt b/Resources/VersNum.txt index 768b267..e86f929 100644 --- a/Resources/VersNum.txt +++ b/Resources/VersNum.txt @@ -1 +1 @@ -1.0.2408.0119 +1.0.2408.0208 diff --git a/Resources/manifest.xml b/Resources/manifest.xml index ed0cd8d..92d4c6d 100644 --- a/Resources/manifest.xml +++ b/Resources/manifest.xml @@ -1,6 +1,6 @@ - 1.0.2408.0119 + 1.0.2408.0208 http://nexus.steamware.net/repository/SWS/MagMan/stable/0/MagMan.UI.zip http://nexus.steamware.net/repository/SWS/MagMan/stable/0/ChangeLog.html false