diff --git a/MP.INVE/MP.INVE.csproj b/MP.INVE/MP.INVE.csproj index 2ef6a6c0..56a6f8a8 100644 --- a/MP.INVE/MP.INVE.csproj +++ b/MP.INVE/MP.INVE.csproj @@ -5,7 +5,7 @@ enable enable MP.INVE - 6.16.2211.2116 + 6.16.2211.2118 diff --git a/MP.INVE/Pages/Jumper.razor.cs b/MP.INVE/Pages/Jumper.razor.cs index 778da839..b1a6cdfb 100644 --- a/MP.INVE/Pages/Jumper.razor.cs +++ b/MP.INVE/Pages/Jumper.razor.cs @@ -18,6 +18,8 @@ using Blazored.LocalStorage; using Microsoft.AspNetCore.WebUtilities; using MP.INVE.Data; using MP.Data.DatabaseModels; +using MP.Data.DTO; +using Microsoft.IdentityModel.Tokens; namespace MP.INVE.Pages { @@ -33,6 +35,7 @@ namespace MP.INVE.Pages private string logged { get; set; } = ""; private List operatore = new List(); + private AnagOperatoriModel currOperatore = new AnagOperatoriModel(); protected string idOPeratore { get; set; } = null!; protected string authKey { get; set; } = null!; protected override async Task OnInitializedAsync() @@ -47,14 +50,20 @@ namespace MP.INVE.Pages operatore = MIService.ElencoOperatori(int.Parse(idOPeratore), MIService.DeriptData(authKey)); - if(operatore.Count == 1) + + if (operatore != null) { - logged = "success"; - NavManager.NavigateTo("Acquisizione"); - } - else - { - logged = "not success"; + if (operatore.Count == 1) + { + logged = "success"; + NavManager.NavigateTo("Acquisizione"); + localStorage.SetItemAsync("MatrOpr", idOPeratore); + localStorage.SetItemAsync("authKey", authKey); + } + else + { + logged = "not success"; + } } } } diff --git a/MP.INVE/Resources/ChangeLog.html b/MP.INVE/Resources/ChangeLog.html index ac15bafc..d28a8d8f 100644 --- a/MP.INVE/Resources/ChangeLog.html +++ b/MP.INVE/Resources/ChangeLog.html @@ -1,6 +1,6 @@ Modulo MAPOINVE -

Versione: 6.16.2211.2116

+

Versione: 6.16.2211.2118


Note di rilascio:
  • diff --git a/MP.INVE/Resources/VersNum.txt b/MP.INVE/Resources/VersNum.txt index 46dcee24..28a3cebf 100644 --- a/MP.INVE/Resources/VersNum.txt +++ b/MP.INVE/Resources/VersNum.txt @@ -1 +1 @@ -6.16.2211.2116 +6.16.2211.2118 diff --git a/MP.INVE/Resources/manifest.xml b/MP.INVE/Resources/manifest.xml index f606b314..197e1adf 100644 --- a/MP.INVE/Resources/manifest.xml +++ b/MP.INVE/Resources/manifest.xml @@ -1,6 +1,6 @@ - 6.16.2211.2116 + 6.16.2211.2118 https://nexus.steamware.net/repository/SWS/MP-INVE/stable/LAST/MP.INVE.zip https://nexus.steamware.net/repository/SWS/MP-INVE/stable/LAST/ChangeLog.html false diff --git a/MP.INVE/Shared/MainLayout.razor.cs b/MP.INVE/Shared/MainLayout.razor.cs index f72febb2..fb1afcdb 100644 --- a/MP.INVE/Shared/MainLayout.razor.cs +++ b/MP.INVE/Shared/MainLayout.razor.cs @@ -32,7 +32,7 @@ namespace MP.INVE.Shared userName = $"{answ.Cognome} {answ.Nome} ({answ.MatrOpr})"; if (NavManager.Uri.Contains("OperatoreLogin")) { - NavManager.NavigateTo("Starter", true); + NavManager.NavigateTo("Elencomagazzini", true); } } else diff --git a/MP.INVE/Shared/NavMenu.razor.cs b/MP.INVE/Shared/NavMenu.razor.cs index bd4d9f66..de49eca5 100644 --- a/MP.INVE/Shared/NavMenu.razor.cs +++ b/MP.INVE/Shared/NavMenu.razor.cs @@ -39,7 +39,7 @@ namespace MP.INVE.Shared userName = $"{answ.Cognome} {answ.Nome} ({answ.MatrOpr})"; if (NavigationManager.Uri.Contains("OperatoreLogin")) { - NavigationManager.NavigateTo("Starter", true); + NavigationManager.NavigateTo("Elencomagazzini", true); } } else diff --git a/MP.INVE/appsettings.json b/MP.INVE/appsettings.json index aa69a5b9..0e6a99e2 100644 --- a/MP.INVE/appsettings.json +++ b/MP.INVE/appsettings.json @@ -19,6 +19,6 @@ "redisLongTimeCache": "15", "MpIoBaseUrl": "http://localhost:20967/", "BaseUrl": "https://iis01.egalware.com/mp/inve/Acquisizione?", - "BaseUrlJumper": "https://iis01.egalware.com/jumper?" + "BaseUrlJumper": "https://iis01.egalware.com/mp/inve/jumper?" } }