Fix display disabled x add nuovo PODL

This commit is contained in:
Samuele Locatelli
2023-04-05 15:07:20 +02:00
parent 284b774e7f
commit 56edd76f1e
6 changed files with 13 additions and 14 deletions
+1 -1
View File
@@ -5,7 +5,7 @@
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<RootNamespace>MP.SPEC</RootNamespace>
<Version>6.16.2304.509</Version>
<Version>6.16.2304.515</Version>
</PropertyGroup>
<ItemGroup>
+4
View File
@@ -19,6 +19,10 @@
{
<button class="btn btn-success" @onclick="() => reqNewPODL()">Nuovo PODL <i class="bi bi-plus-square"></i></button>
}
else
{
<button class="btn btn-secondary" disabled title="@addMessage">Nuovo PODL <i class="bi bi-plus-square"></i><div class="small"><sup>@addMessage</sup></div></button>
}
</div>
</div>
<div class="d-flex justify-content-end col-6">
+5 -10
View File
@@ -136,6 +136,11 @@ namespace MP.SPEC.Pages
}
}
protected string addMessage
{
get => addEnabled ? "" : "Manca Selezione Impianto / Fase";
}
/// <summary>
/// Crea nuovo record e va in editing...
/// </summary>
@@ -143,16 +148,6 @@ namespace MP.SPEC.Pages
protected async Task reqNewPODL()
{
header = "Nuovo PODL";
#if false
if (ListArticoli != null && ListArticoli.Count > 0)
{
var firstArt = ListArticoli.FirstOrDefault(x => x.Azienda.StartsWith(currAzienda));
if (firstArt != null)
{
currArticolo = firstArt.CodArticolo;
}
}
#endif
artSearch = "";
string codExt = $"{currFase}";
string codGruppo = "";
+1 -1
View File
@@ -1,6 +1,6 @@
<body>
<i>Modulo MAPOSPEC </i>
<h4>Versione: 6.16.2304.509</h4>
<h4>Versione: 6.16.2304.515</h4>
<br /> Note di rilascio:
<ul>
<li>
+1 -1
View File
@@ -1 +1 @@
6.16.2304.509
6.16.2304.515
+1 -1
View File
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<item>
<version>6.16.2304.509</version>
<version>6.16.2304.515</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>