Fix clona x servizi/prodotti vendita
This commit is contained in:
@@ -799,7 +799,13 @@ namespace Lux.UI.Components.Compo
|
||||
SerStruct = rec2clone.SerStruct,
|
||||
StepCost = rec2clone.StepCost,
|
||||
StepPrice = rec2clone.StepPrice,
|
||||
BomCost = needRecalc ? 0 : rec2clone.BomCost,
|
||||
BomPrice = needRecalc ? 0 : rec2clone.BomPrice,
|
||||
BomOk = needRecalc ? false : true,
|
||||
ItemOk = needRecalc ? false : true,
|
||||
ProdItemQty = needRecalc ? 0 : rec2clone.ProdItemQty
|
||||
};
|
||||
|
||||
// salvo sul DB
|
||||
await ORService.UpsertAsync(newRec);
|
||||
// chiamo update record che non hanno UID x questo ordine
|
||||
|
||||
Reference in New Issue
Block a user