Migration + fix gestione note in offerta

This commit is contained in:
Samuele Locatelli
2026-03-18 08:12:19 +01:00
parent 0813e3b2d2
commit 273fa4fc0c
7 changed files with 5347 additions and 982 deletions
@@ -58,7 +58,7 @@ namespace EgwCoreLib.Lux.Data.DbModel.Sales
/// <summary>
/// ID dell'articolo di vendita Orderto
/// </summary>
public int SellingItemID { get; set; }
public int? SellingItemID { get; set; }
/// <summary>
/// Riferimento (opzionale9 al template da cui è derivato
@@ -196,7 +196,7 @@ namespace EgwCoreLib.Lux.Data.DbModel.Sales
else if (SellingItemID > 0)
{
//answ = $"SP.{SellingItemID:X12}";
answ = SellingItemModel.ImgUrl(SellingItemID);
answ = SellingItemModel.ImgUrl(SellingItemID ?? 0);
}
}
return answ;