Fix display disabled x add nuovo PODL
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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">
|
||||
|
||||
@@ -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,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 @@
|
||||
6.16.2304.509
|
||||
6.16.2304.515
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user