diff --git a/MP-TAB-SERV/Components/ScrapMan.razor b/MP-TAB-SERV/Components/ScrapMan.razor index d7eed171..f5af2fc3 100644 --- a/MP-TAB-SERV/Components/ScrapMan.razor +++ b/MP-TAB-SERV/Components/ScrapMan.razor @@ -62,8 +62,28 @@ @item.Descrizione -
- @item.Qta pz +
+
+ @item.Qta +
+
+ × + @if (item.Tipo == "KIT") + { + @if (item.KitSplit) + { + + } + else + { + + } + } + else + { + pz + } +
diff --git a/MP.Data/DatabaseModels/RegistroScartiModel.cs b/MP.Data/DatabaseModels/RegistroScartiModel.cs index 2f1c0c81..1eb3597b 100644 --- a/MP.Data/DatabaseModels/RegistroScartiModel.cs +++ b/MP.Data/DatabaseModels/RegistroScartiModel.cs @@ -22,10 +22,12 @@ namespace MP.Data.DatabaseModels public string CodArticolo { get; set; } = ""; public int MatrOpr { get; set; } = 0; public DateTime? DataOraProdRec { get; set; } = null; + public bool KitSplit { get; set; } = false; public string Descrizione { get; set; } = ""; public string cssClass { get; set; } = ""; public string icona { get; set; } = ""; - public bool KitSplit { get; set; } = false; + public string DescArticolo { get; set; } = ""; + public string Tipo { get; set; } = ""; #endregion Public Properties }