Fix conf code di stampa + aggiunte altre conf x reports
This commit is contained in:
@@ -47,10 +47,19 @@ namespace NKC_WF.Controllers
|
||||
DataTable tab = new DataTable();
|
||||
switch (tipoReport)
|
||||
{
|
||||
case reportRichiesto.bunkLabel:
|
||||
int.TryParse(keyParam, out intIdx);
|
||||
tab = (DataTable)DataLayer.man.taRepStack.GetData(intIdx);
|
||||
answ.Add("stp_prt_StackLabel", tab);
|
||||
break;
|
||||
case reportRichiesto.cartLabel:
|
||||
// int.TryParse(keyParam, out intIdx);
|
||||
// tab = (DataTable)DataLayer.man.taRepStack.GetData(intIdx);
|
||||
break;
|
||||
case reportRichiesto.offlineLabel:
|
||||
// int.TryParse(keyParam, out intIdx);
|
||||
// tab = (DataTable)DataLayer.man.taRepStack.GetData(intIdx);
|
||||
break;
|
||||
case reportRichiesto.paintLabelPre:
|
||||
// int.TryParse(keyParam, out intIdx);
|
||||
// tab = (DataTable)DataLayer.man.taRepStack.GetData(intIdx);
|
||||
@@ -64,11 +73,6 @@ namespace NKC_WF.Controllers
|
||||
tab = (DataTable)DataLayer.man.taIL.getByKey(intIdx);
|
||||
answ.Add("stp_prt_PartLabel", tab);
|
||||
break;
|
||||
case reportRichiesto.stackLabel:
|
||||
int.TryParse(keyParam, out intIdx);
|
||||
tab = (DataTable)DataLayer.man.taRepStack.GetData(intIdx);
|
||||
answ.Add("stp_prt_StackLabel", tab);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
@@ -79,13 +83,16 @@ namespace NKC_WF.Controllers
|
||||
|
||||
protected reportRichiesto reportByTipo(string tipo)
|
||||
{
|
||||
reportRichiesto report = reportRichiesto.stackLabel;
|
||||
reportRichiesto report = reportRichiesto.bunkLabel;
|
||||
switch (tipo)
|
||||
{
|
||||
case "docPaint":
|
||||
case "docStack":
|
||||
report = reportRichiesto.bunkLabel;
|
||||
break;
|
||||
case "docBinPre":
|
||||
report = reportRichiesto.paintLabelPre;
|
||||
break;
|
||||
case "docPaintPost":
|
||||
case "docBinPost":
|
||||
report = reportRichiesto.paintLabelPost;
|
||||
break;
|
||||
case "docCart":
|
||||
@@ -94,8 +101,8 @@ namespace NKC_WF.Controllers
|
||||
case "docPart":
|
||||
report = reportRichiesto.partLabel;
|
||||
break;
|
||||
case "docStack":
|
||||
report = reportRichiesto.stackLabel;
|
||||
case "docOffline":
|
||||
report = reportRichiesto.offlineLabel;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user