[fix:] replaced the condition
This commit is contained in:
+19
-16
@@ -615,22 +615,25 @@ public class PdfBuilder
|
|||||||
int bundleOnPallet2 =
|
int bundleOnPallet2 =
|
||||||
(secondIndex % Settings._instance.pdfExport.rsBundNrPal) + 1;
|
(secondIndex % Settings._instance.pdfExport.rsBundNrPal) + 1;
|
||||||
|
|
||||||
DrawGermanyRunningSheet(
|
if (firstIndex + 1 < grouped_nums.Count)
|
||||||
gfx,
|
{
|
||||||
marginX,
|
DrawGermanyRunningSheet(
|
||||||
top2,
|
gfx,
|
||||||
usableW,
|
marginX,
|
||||||
tableH,
|
top2,
|
||||||
list,
|
usableW,
|
||||||
grouped_nums[secondIndex],
|
tableH,
|
||||||
grouped_nums,
|
list,
|
||||||
fontLabel,
|
grouped_nums[secondIndex],
|
||||||
fontText,
|
grouped_nums,
|
||||||
fontBig,
|
fontLabel,
|
||||||
palletNumber2,
|
fontText,
|
||||||
bundleOnPallet2,
|
fontBig,
|
||||||
secondIndex + 1
|
palletNumber2,
|
||||||
);
|
bundleOnPallet2,
|
||||||
|
secondIndex + 1
|
||||||
|
);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
document.Save(path);
|
document.Save(path);
|
||||||
|
|||||||
Reference in New Issue
Block a user