fix grafico BUNK man

This commit is contained in:
Samuele E. Locatelli
2020-07-29 12:13:51 +02:00
parent 4982562f57
commit 906df8a682
6 changed files with 27 additions and 11 deletions
@@ -28,6 +28,7 @@ namespace NKC_WF.WebUserControls
{
// pulisco dir temp dai file dei cartellini stampati
reportPrinter.obj.pulisciDir();
chkDetail.Text = traduci("PrintDetail");
}
cmp_barcode.eh_doRefresh += Cmp_barcode_eh_doRefresh;
}
@@ -45,7 +46,7 @@ namespace NKC_WF.WebUserControls
private void Cmp_barcode_eh_doRefresh(object sender, EventArgs e)
{
bool doRaiseEv = false;
lastCmd = cmp_barcode.inputAcquired.ToUpper();
processLastCmd(doRaiseEv);
@@ -144,8 +145,13 @@ namespace NKC_WF.WebUserControls
protected void lbtPrint_Click(object sender, EventArgs e)
{
// chiamo procedura stampa report x stack
string printer = DataLayer.man.getPrinter("PC-MACHINE-STACK-BUILD");
DataLayer.man.stampaDoc(StackId.ToString(), printer, tipoDocumento.docStack, Request.UserHostName);
string currQueue = DataLayer.man.getPrinter("PC-MACHINE-STACK-BUILD");
// se richeisto detail --> coda Detail...
if (chkDetail.Checked)
{
currQueue += "Detail";
}
DataLayer.man.stampaDoc(StackId.ToString(), currQueue, tipoDocumento.docStack, Request.UserHostName);
// aggiorno stato BATCH
ComLib.updateBatchPositionByBunk(StackId);
}