Fix gestione stop nesting anche x child
This commit is contained in:
@@ -160,6 +160,17 @@ namespace NKC_WF.WebUserControls
|
||||
ComLib.resetBatchReq();
|
||||
// registro su DB nesting iniziato...
|
||||
DLMan.taBL.updateStatus(BatchId, (int)BatchStatus.EstimationDone, "", -1);
|
||||
if (BatchIsAncestor)
|
||||
{
|
||||
var tabDesc = ComLib.BatchDescendant(BatchId);
|
||||
if (tabDesc != null && tabDesc.Count > 0)
|
||||
{
|
||||
foreach (var item in tabDesc)
|
||||
{
|
||||
DLMan.taBL.updateStatus(item.BatchID, (int)BatchStatus.EstimationDone, "", -1);
|
||||
}
|
||||
}
|
||||
}
|
||||
raiseEvent();
|
||||
}
|
||||
|
||||
|
||||
@@ -10,8 +10,7 @@
|
||||
<asp:Label runat="server" ID="lblBatchType" ToolTip='<%# tooltipByType(Eval("BatchType")) %>'><span style="font-size: 1.3em;"><i class='<%# cssIconByType(Eval("BatchType")) %>'></i></span> <b><%# Eval("Takt") %></b></asp:Label>
|
||||
</div>
|
||||
<div class="col-3 text-right">
|
||||
# KIT/Parts: <b><%# Eval("NumOrders") %>/<%# Eval("NumItems") %></b>
|
||||
</div>
|
||||
# KIT/Parts: <b><%# Eval("NumOrders") %>/<%# Eval("NumItems") %></b></div>
|
||||
<div class="col-3 text-right">
|
||||
Estim.Time: <b><%# Eval("TotalTime","{0:N2}") %></b> min
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user