Fix coda SpecialPart in stampa
This commit is contained in:
@@ -56,6 +56,7 @@
|
||||
<asp:HiddenField ID="hfQrSize" runat="server" Value="32" />
|
||||
<asp:HiddenField ID="hfShowPrint" runat="server" Value="false" />
|
||||
<asp:HiddenField ID="hfPrintQueue" runat="server" Value="queueND" />
|
||||
<asp:HiddenField ID="hfPrintQueueSP" runat="server" Value="queueSPND" />
|
||||
<asp:HiddenField ID="hfMachineSel" runat="server" Value="#" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -101,6 +101,21 @@ namespace NKC_WF.WebUserControls
|
||||
hfPrintQueue.Value = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Queue selezionata x SpecialParts
|
||||
/// </summary>
|
||||
public string currQueueSP
|
||||
{
|
||||
get
|
||||
{
|
||||
return hfPrintQueueSP.Value;
|
||||
}
|
||||
set
|
||||
{
|
||||
hfPrintQueueSP.Value = value;
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// Macchina selezionata
|
||||
/// </summary>
|
||||
@@ -114,6 +129,7 @@ namespace NKC_WF.WebUserControls
|
||||
{
|
||||
hfMachineSel.Value = value;
|
||||
currQueue = DLMan.getPrinter($"{value}-UNLOAD");
|
||||
currQueueSP = DLMan.getPrinter($"{value}-SPECIALPART");
|
||||
}
|
||||
}
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
@@ -121,6 +137,7 @@ namespace NKC_WF.WebUserControls
|
||||
if (!Page.IsPostBack)
|
||||
{
|
||||
currQueue = DLMan.getPrinter($"{MachineSel}-UNLOAD");
|
||||
currQueueSP = DLMan.getPrinter($"{MachineSel}-SPECIALPART");
|
||||
}
|
||||
}
|
||||
public void doUpdate()
|
||||
@@ -173,7 +190,7 @@ namespace NKC_WF.WebUserControls
|
||||
{
|
||||
lgInfo($"checkSpecialPrint: IS SPECIAL!!!");
|
||||
// invio SINGOLO record in stampa (che poi stamperà + pagine, 1 x item)
|
||||
DLMan.stampaDoc($"{cartId}", currQueue, tipoDocumento.docCartSpecialPart, Request.UserHostName);
|
||||
DLMan.stampaDoc($"{cartId}", currQueueSP, tipoDocumento.docCartSpecialPart, Request.UserHostName);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@@ -77,6 +77,15 @@ namespace NKC_WF.WebUserControls
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.HiddenField hfPrintQueue;
|
||||
|
||||
/// <summary>
|
||||
/// hfPrintQueueSP control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.HiddenField hfPrintQueueSP;
|
||||
|
||||
/// <summary>
|
||||
/// hfMachineSel control.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user