diff --git a/MP.Data/Controllers/MpSpecController.cs b/MP.Data/Controllers/MpSpecController.cs
index 561536ed..39568dbe 100644
--- a/MP.Data/Controllers/MpSpecController.cs
+++ b/MP.Data/Controllers/MpSpecController.cs
@@ -465,6 +465,8 @@ namespace MP.Data.Controllers
.DbSetPODL
.Where(x => (x.IdxOdl == 0) && (x.KeyRichiesta.Contains(keyRichPart) || keyRichPart == "*") && (codArt == "*" || x.CodArticolo.Contains(codArt)))
.AsNoTracking()
+ .Include(m => m.MachineNav)
+ .Include(a => a.ArticoloNav)
.OrderBy(x => x.InsertDate)
.ToList();
}
diff --git a/MP.Data/DatabaseModels/PODLModel.cs b/MP.Data/DatabaseModels/PODLModel.cs
index 73b5b19d..2575e287 100644
--- a/MP.Data/DatabaseModels/PODLModel.cs
+++ b/MP.Data/DatabaseModels/PODLModel.cs
@@ -55,6 +55,17 @@ namespace MP.Data.DatabaseModels
}
}
+ ///
+ /// Navigazione oggetto Machine
+ ///
+ [ForeignKey("IdxMacchina")]
+ public virtual Macchine MachineNav { get; set; } = null!;
+ ///
+ /// Navigazione oggetto Articolo
+ ///
+ [ForeignKey("CodArticolo")]
+ public virtual AnagArticoli ArticoloNav { get; set; } = null!;
+
#endregion Public Properties
}
}
\ No newline at end of file
diff --git a/MP.SPEC/Components/ListPODL.razor b/MP.SPEC/Components/ListPODL.razor
index cb4fdeb6..b7bf7cb8 100644
--- a/MP.SPEC/Components/ListPODL.razor
+++ b/MP.SPEC/Components/ListPODL.razor
@@ -25,6 +25,7 @@ else
# pz |
T.Ciclo |
Note |
+ Att |
|
@@ -38,10 +39,12 @@ else
@record.CodArticolo
+ @record.ArticoloNav.DescArticolo
|
@tradFase(record.KeyRichiesta) |
@record.IdxMacchina
+ @record.MachineNav.Descrizione
|
@record.NumPezzi
@@ -50,6 +53,16 @@ else
@record.Tcassegnato.ToString("N3")
|
@record.Note |
+
+ @if (@record.Attivabile)
+ {
+
+ }
+ else
+ {
+
+ }
+ |
@if (POdlDelEnabled(record.IdxOdl))
{
diff --git a/MP.SPEC/MP.SPEC.csproj b/MP.SPEC/MP.SPEC.csproj
index 4fec5a42..0c5728b0 100644
--- a/MP.SPEC/MP.SPEC.csproj
+++ b/MP.SPEC/MP.SPEC.csproj
@@ -5,7 +5,7 @@
enable
enable
MP.SPEC
- 6.16.2209.2809
+ 6.16.2210.510
diff --git a/MP.SPEC/Pages/PODL.razor b/MP.SPEC/Pages/PODL.razor
index f739d21a..9ce35a87 100644
--- a/MP.SPEC/Pages/PODL.razor
+++ b/MP.SPEC/Pages/PODL.razor
@@ -142,7 +142,14 @@
-
+
+
diff --git a/MP.SPEC/Resources/ChangeLog.html b/MP.SPEC/Resources/ChangeLog.html
index 73a3d73c..daa5c95c 100644
--- a/MP.SPEC/Resources/ChangeLog.html
+++ b/MP.SPEC/Resources/ChangeLog.html
@@ -1,6 +1,6 @@
Modulo MAPOSPEC
- Versione: 6.16.2209.2809
+ Versione: 6.16.2210.510
Note di rilascio:
-
diff --git a/MP.SPEC/Resources/VersNum.txt b/MP.SPEC/Resources/VersNum.txt
index d3f097ee..1324a324 100644
--- a/MP.SPEC/Resources/VersNum.txt
+++ b/MP.SPEC/Resources/VersNum.txt
@@ -1 +1 @@
-6.16.2209.2809
+6.16.2210.510
diff --git a/MP.SPEC/Resources/manifest.xml b/MP.SPEC/Resources/manifest.xml
index 3a813e4d..b7774a44 100644
--- a/MP.SPEC/Resources/manifest.xml
+++ b/MP.SPEC/Resources/manifest.xml
@@ -1,6 +1,6 @@
-
- 6.16.2209.2809
+ 6.16.2210.510
https://nexus.steamware.net/repository/SWS/MP-SPEC/stable/LAST/MP.SPEC.zip
https://nexus.steamware.net/repository/SWS/MP-SPEC/stable/LAST/ChangeLog.html
false
|