diff --git a/MP.SPEC/Components/ListODL.razor b/MP.SPEC/Components/ListODL.razor index 88a163d2..0922b913 100644 --- a/MP.SPEC/Components/ListODL.razor +++ b/MP.SPEC/Components/ListODL.razor @@ -11,7 +11,7 @@ else
@if (showKitDetail) { - + } @if (currRecord != null && !showStats && isCurrOdl) { diff --git a/MP.SPEC/Components/ListODL.razor.cs b/MP.SPEC/Components/ListODL.razor.cs index 2b9dbc00..948949c0 100644 --- a/MP.SPEC/Components/ListODL.razor.cs +++ b/MP.SPEC/Components/ListODL.razor.cs @@ -386,10 +386,9 @@ namespace MP.SPEC.Components } protected void KitToggleDetail(string? selCodArt) { - CodArtParent = selCodArt ?? ""; - if (!string.IsNullOrEmpty(CodArtParent)) + if (!string.IsNullOrEmpty(selCodArt)) { - ListKitTemplate = MDService.TemplateKitFilt(CodArtParent, ""); + ListKitTemplate = MDService.TemplateKitFilt(selCodArt, ""); } else { @@ -405,6 +404,5 @@ namespace MP.SPEC.Components private List? ListKitTemplate = null; private bool showKitDetail = false; - private string CodArtParent = ""; } } \ No newline at end of file diff --git a/MP.SPEC/Components/ListPODL.razor b/MP.SPEC/Components/ListPODL.razor index a03b2ac7..d5105750 100644 --- a/MP.SPEC/Components/ListPODL.razor +++ b/MP.SPEC/Components/ListPODL.razor @@ -15,7 +15,7 @@ else
@if (showKitDetail) { - + } diff --git a/MP.SPEC/Components/ListPODL.razor.cs b/MP.SPEC/Components/ListPODL.razor.cs index 8dd4c636..0b2babfd 100644 --- a/MP.SPEC/Components/ListPODL.razor.cs +++ b/MP.SPEC/Components/ListPODL.razor.cs @@ -162,13 +162,10 @@ namespace MP.SPEC.Components protected void KitToggleDetail(PODLExpModel? recSel) { - // init valori filtro... - CodArtParent = recSel != null ? recSel.CodArticolo : ""; - IdxPOdlParent = recSel != null ? recSel.IdxPromessa : 0; - if (!string.IsNullOrEmpty(CodArtParent)) + if (recSel != null) { - ListKitTemplate = MDService.TemplateKitFilt(CodArtParent, ""); - ListPOdlKit = MDService.POdlListByKitParent(IdxPOdlParent); + ListKitTemplate = MDService.TemplateKitFilt(recSel.CodArticolo, ""); + ListPOdlKit = MDService.POdlListByKitParent(recSel.IdxPromessa); } else { @@ -334,9 +331,6 @@ namespace MP.SPEC.Components #region Private Fields private static Logger Log = LogManager.GetCurrentClassLogger(); - private string CodArtParent = ""; - private int IdxPOdlParent = 0; - private int IdxOdlParent = 0; private string currRecipeArchPath = ""; /// diff --git a/MP.SPEC/Components/ProdKit/KitDetailModal.razor b/MP.SPEC/Components/ProdKit/KitDetailModal.razor index 3d343ad5..d6669d8e 100644 --- a/MP.SPEC/Components/ProdKit/KitDetailModal.razor +++ b/MP.SPEC/Components/ProdKit/KitDetailModal.razor @@ -104,9 +104,6 @@ @code { - [Parameter] - public string CodArtParent { get; set; } = ""; - [Parameter] public EventCallback EC_Close { get; set; } diff --git a/MP.SPEC/MP.SPEC.csproj b/MP.SPEC/MP.SPEC.csproj index d4f23cd4..431a7a34 100644 --- a/MP.SPEC/MP.SPEC.csproj +++ b/MP.SPEC/MP.SPEC.csproj @@ -5,7 +5,7 @@ enable enable MP.SPEC - 6.16.2505.1515 + 6.16.2505.1516 1800a78a-6ff1-40f9-b490-87fb8bfc1394 en diff --git a/MP.SPEC/Resources/ChangeLog.html b/MP.SPEC/Resources/ChangeLog.html index 3ce31b7d..33947680 100644 --- a/MP.SPEC/Resources/ChangeLog.html +++ b/MP.SPEC/Resources/ChangeLog.html @@ -1,6 +1,6 @@ Modulo MAPOSPEC -

Versione: 6.16.2505.1515

+

Versione: 6.16.2505.1516


Note di rilascio:
  • diff --git a/MP.SPEC/Resources/VersNum.txt b/MP.SPEC/Resources/VersNum.txt index db36c41f..89e71bf5 100644 --- a/MP.SPEC/Resources/VersNum.txt +++ b/MP.SPEC/Resources/VersNum.txt @@ -1 +1 @@ -6.16.2505.1515 +6.16.2505.1516 diff --git a/MP.SPEC/Resources/manifest.xml b/MP.SPEC/Resources/manifest.xml index e38cf3f7..50de2d49 100644 --- a/MP.SPEC/Resources/manifest.xml +++ b/MP.SPEC/Resources/manifest.xml @@ -1,6 +1,6 @@ - 6.16.2505.1515 + 6.16.2505.1516 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