Fix spec x gestione giacenze (si apre) + cleanup program.cs
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<Nullable>enable</Nullable>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<RootNamespace>MP.SPEC</RootNamespace>
|
||||
<Version>8.16.2606.1117</Version>
|
||||
<Version>8.16.2606.1118</Version>
|
||||
<UserSecretsId>1800a78a-6ff1-40f9-b490-87fb8bfc1394</UserSecretsId>
|
||||
<SatelliteResourceLanguages>en</SatelliteResourceLanguages>
|
||||
</PropertyGroup>
|
||||
|
||||
@@ -68,8 +68,6 @@ else
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
@*<div class="card-footer">
|
||||
</div>*@
|
||||
</div>
|
||||
}
|
||||
|
||||
|
||||
@@ -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<ODLModel>? 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<ODLModel>? 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
|
||||
}
|
||||
}
|
||||
@@ -192,21 +192,6 @@ builder.Services.TryAddScoped<MpDataService>();
|
||||
builder.Services.TryAddSingleton<IOApiService>();
|
||||
builder.Services.TryAddScoped<MsgServiceSpec>();
|
||||
|
||||
#if false
|
||||
builder.Services.AddSingleton<AppAuthService>();
|
||||
builder.Services.AddSingleton<ListSelectDataSrv>();
|
||||
builder.Services.AddSingleton<SharedMemService>();
|
||||
builder.Services.AddSingleton<TabDataService>();
|
||||
builder.Services.AddSingleton<TabDataFeeder>();
|
||||
#endif
|
||||
|
||||
#if false
|
||||
// aggiunta helper local/session storage service
|
||||
builder.Services.AddScoped<ISessionStorageService, SessionStorageService>();
|
||||
builder.Services.AddScoped<ILocalStorageService, LocalStorageService>();
|
||||
#endif
|
||||
|
||||
|
||||
builder.Services.AddHttpClient();
|
||||
|
||||
logger.Info("Aggiunti services");
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<body>
|
||||
<i>Modulo MAPOSPEC </i>
|
||||
<h4>Versione: 8.16.2606.1117</h4>
|
||||
<h4>Versione: 8.16.2606.1118</h4>
|
||||
<br /> Note di rilascio:
|
||||
<ul>
|
||||
<li>
|
||||
|
||||
@@ -1 +1 @@
|
||||
8.16.2606.1117
|
||||
8.16.2606.1118
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<item>
|
||||
<version>8.16.2606.1117</version>
|
||||
<version>8.16.2606.1118</version>
|
||||
<url>https://nexus.steamware.net/repository/SWS/MP-SPEC/stable/LAST/MP.SPEC.zip</url>
|
||||
<changelog>https://nexus.steamware.net/repository/SWS/MP-SPEC/stable/LAST/ChangeLog.html</changelog>
|
||||
<mandatory>false</mandatory>
|
||||
|
||||
Reference in New Issue
Block a user