[fix:] replaced the condition

This commit is contained in:
2026-06-23 16:13:34 +02:00
parent e20a59a524
commit fd30f4effc
+19 -16
View File
@@ -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);