Fix condizione uscita selezione ricette in PODL

This commit is contained in:
Samuele Locatelli
2025-01-31 11:10:12 +01:00
parent a40ed4496e
commit 53ef92a1d4
12 changed files with 30 additions and 24 deletions
+7 -7
View File
@@ -12,39 +12,39 @@ using System.Xml;
namespace MP.AppAuth
{
/// <summary>
/// Object of this class gives you all the details about the update useful in handling the update logic yourself.
/// Object of this class gives you all the details about the update useful in handling the update logic yourself.
/// </summary>
public class UpdateInfoEventArgs : EventArgs
{
#region Public Properties
/// <summary>
/// URL of the webpage specifying changes in the new update.
/// URL of the webpage specifying changes in the new update.
/// </summary>
public string ChangelogURL { get; set; }
/// <summary>
/// Returns newest version of the application available to download.
/// Returns newest version of the application available to download.
/// </summary>
public Version CurrentVersion { get; set; }
/// <summary>
/// Download URL of the update file.
/// Download URL of the update file.
/// </summary>
public string DownloadURL { get; set; }
/// <summary>
/// Returns version of the application currently installed on the user's PC.
/// Returns version of the application currently installed on the user's PC.
/// </summary>
public Version InstalledVersion { get; set; }
/// <summary>
/// If new update is available then returns true otherwise false.
/// If new update is available then returns true otherwise false.
/// </summary>
public bool IsUpdateAvailable { get; set; }
/// <summary>
/// Shows if the update is required or optional.
/// Shows if the update is required or optional.
/// </summary>
public bool Mandatory { get; set; }
+1 -1
View File
@@ -3,7 +3,7 @@
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<RootNamespace>MP.Land</RootNamespace>
<Version>6.16.2411.0409</Version>
<Version>6.16.2412.2708</Version>
<Configurations>Debug;Release;Debug_LiManDebug</Configurations>
<SatelliteResourceLanguages>en</SatelliteResourceLanguages>
<RunAnalyzersDuringBuild>True</RunAnalyzersDuringBuild>
+1 -1
View File
@@ -1,6 +1,6 @@
<body>
<i>Modulo Tablet MAPO - DotNet6</i>
<h4>Versione: 6.16.2411.0409</h4>
<h4>Versione: 6.16.2412.2708</h4>
<br />
Note di rilascio:
<ul>
+1 -1
View File
@@ -1 +1 @@
6.16.2411.0409
6.16.2412.2708
+1 -1
View File
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<item>
<version>6.16.2411.0409</version>
<version>6.16.2412.2708</version>
<url>https://nexus.steamware.net/repository/SWS/MP-LAND/stable/LAST/MP.Land.zip</url>
<changelog>https://nexus.steamware.net/repository/SWS/MP-LAND/stable/LAST/ChangeLog.html</changelog>
<mandatory>false</mandatory>
-1
View File
@@ -206,7 +206,6 @@ namespace MP.SPEC.Components
ListRecords = SearchRecords.Skip(numRecord * (currPage - 1)).Take(numRecord).ToList();
await Task.Delay(1);
await InvokeAsync(() => StateHasChanged());
//await updateRecordCount.InvokeAsync(totalCount);
isLoading = false;
}
+11 -7
View File
@@ -12,13 +12,17 @@ else
<div>
<h4>Assegnazione Ricetta <i class="fa-solid fa-flask"></i></h4>
</div>
<div class="text-danger">
@if (string.IsNullOrEmpty(RecipeCode))
{
<span>Manca ricetta!</span>
<i class="fa-solid fa-triangle-exclamation fa-2x"></i>
}
<button class="btn btn-secondary" @onclick="() => doClose()"><i class="fa-solid fa-xmark"></i></button>
@if (string.IsNullOrEmpty(RecipeCode))
{
<div>
<span class="px-2 text-danger">
Manca ricetta!
<i class="fa-solid fa-triangle-exclamation fa-2x"></i>
</span>
</div>
}
<div>
<button class="btn btn-outline-secondary" @onclick="() => doClose()"><i class="fa-solid fa-xmark"></i></button>
</div>
</div>
</div>
+1 -1
View File
@@ -5,7 +5,7 @@
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<RootNamespace>MP.SPEC</RootNamespace>
<Version>6.16.2411.1515</Version>
<Version>6.16.2501.3111</Version>
<UserSecretsId>1800a78a-6ff1-40f9-b490-87fb8bfc1394</UserSecretsId>
<SatelliteResourceLanguages>en</SatelliteResourceLanguages>
</PropertyGroup>
+4 -1
View File
@@ -87,7 +87,10 @@ namespace MP.SPEC.Pages
{
canEdit = true;
// preseleziono ricerca articolo
artSearch = selRec.CodArticolo.Length > nArtSearch ? selRec.CodArticolo.Substring(0, nArtSearch) : selRec.CodArticolo;
if (selRec != null)
{
artSearch = selRec.CodArticolo.Length > nArtSearch ? selRec.CodArticolo.Substring(0, nArtSearch) : selRec.CodArticolo;
}
currRecord = selRec;
await Task.Delay(1);
}
+1 -1
View File
@@ -1,6 +1,6 @@
<body>
<i>Modulo MAPOSPEC </i>
<h4>Versione: 6.16.2411.1515</h4>
<h4>Versione: 6.16.2501.3111</h4>
<br /> Note di rilascio:
<ul>
<li>
+1 -1
View File
@@ -1 +1 @@
6.16.2411.1515
6.16.2501.3111
+1 -1
View File
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<item>
<version>6.16.2411.1515</version>
<version>6.16.2501.3111</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>