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