diff --git a/MP.SPEC/MP.SPEC.csproj b/MP.SPEC/MP.SPEC.csproj index 49f371ab..739c9afd 100644 --- a/MP.SPEC/MP.SPEC.csproj +++ b/MP.SPEC/MP.SPEC.csproj @@ -5,7 +5,7 @@ enable enable MP.SPEC - 8.16.2606.1117 + 8.16.2606.1118 1800a78a-6ff1-40f9-b490-87fb8bfc1394 en diff --git a/MP.SPEC/Pages/Giacenze.razor b/MP.SPEC/Pages/Giacenze.razor index 7970bc22..70400660 100644 --- a/MP.SPEC/Pages/Giacenze.razor +++ b/MP.SPEC/Pages/Giacenze.razor @@ -68,8 +68,6 @@ else } - @**@ } diff --git a/MP.SPEC/Pages/Giacenze.razor.cs b/MP.SPEC/Pages/Giacenze.razor.cs index 06cf32da..a109da04 100644 --- a/MP.SPEC/Pages/Giacenze.razor.cs +++ b/MP.SPEC/Pages/Giacenze.razor.cs @@ -1,27 +1,13 @@ -using Blazored.SessionStorage; using Microsoft.AspNetCore.Components; using Microsoft.AspNetCore.WebUtilities; using MP.Data.DbModels; +using MP.Data.Services; using MP.SPEC.Data; namespace MP.SPEC.Pages { public partial class Giacenze { - #region Protected Fields - - protected List? elencoOdl; - - #endregion Protected Fields - - #region Protected Properties - - protected int IdxOdl { get; set; } = 0; - - protected ODLExpModel? odlExp { get; set; } = null!; - - #endregion Protected Properties - #region Protected Methods protected override async Task OnInitializedAsync() @@ -41,34 +27,43 @@ namespace MP.SPEC.Pages odlExp = await MDService.OdlByKeyAsync(IdxOdl); } + protected void saveBatch(string newBatch) + { + BatchSel = newBatch; + } + #endregion Protected Methods + #region Private Fields + + private List? elencoOdl; + + private string giacenzeConf = "false"; + + #endregion Private Fields + #region Private Properties + private string BatchSel { get; set; } = ""; + private int IdxOdl { get; set; } = 0; + + private string mainTabCss + { + get => !string.IsNullOrEmpty(BatchSel) ? "col-10" : "col-12"; + } + [Inject] private MpDataService MDService { get; set; } = null!; [Inject] private NavigationManager NavManager { get; set; } = null!; + private ODLExpModel? odlExp { get; set; } = null!; private string padCodXdl { get; set; } = "00000"; - private string giacenzeConf = "false"; [Inject] private ISessionStorageService sessionStorage { get; set; } = null!; - private string BatchSel { get; set; } = ""; - - private string mainTabCss - { - get => !string.IsNullOrEmpty(BatchSel) ? "col-10" : "col-12"; - } - - protected void saveBatch(string newBatch) - { - BatchSel = newBatch; - } - #endregion Private Properties } } \ No newline at end of file diff --git a/MP.SPEC/Program.cs b/MP.SPEC/Program.cs index a90fc99b..84d72109 100644 --- a/MP.SPEC/Program.cs +++ b/MP.SPEC/Program.cs @@ -192,21 +192,6 @@ builder.Services.TryAddScoped(); builder.Services.TryAddSingleton(); builder.Services.TryAddScoped(); -#if false -builder.Services.AddSingleton(); -builder.Services.AddSingleton(); -builder.Services.AddSingleton(); -builder.Services.AddSingleton(); -builder.Services.AddSingleton(); -#endif - -#if false -// aggiunta helper local/session storage service -builder.Services.AddScoped(); -builder.Services.AddScoped(); -#endif - - builder.Services.AddHttpClient(); logger.Info("Aggiunti services"); diff --git a/MP.SPEC/Resources/ChangeLog.html b/MP.SPEC/Resources/ChangeLog.html index a7abc269..648a902c 100644 --- a/MP.SPEC/Resources/ChangeLog.html +++ b/MP.SPEC/Resources/ChangeLog.html @@ -1,6 +1,6 @@ Modulo MAPOSPEC -

Versione: 8.16.2606.1117

+

Versione: 8.16.2606.1118


Note di rilascio:
  • diff --git a/MP.SPEC/Resources/VersNum.txt b/MP.SPEC/Resources/VersNum.txt index cb037420..edaf8e76 100644 --- a/MP.SPEC/Resources/VersNum.txt +++ b/MP.SPEC/Resources/VersNum.txt @@ -1 +1 @@ -8.16.2606.1117 +8.16.2606.1118 diff --git a/MP.SPEC/Resources/manifest.xml b/MP.SPEC/Resources/manifest.xml index ecd13772..dfc5e362 100644 --- a/MP.SPEC/Resources/manifest.xml +++ b/MP.SPEC/Resources/manifest.xml @@ -1,6 +1,6 @@ - 8.16.2606.1117 + 8.16.2606.1118 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