[feat:] BundNrPal = 0 => no details

This commit is contained in:
2026-06-26 15:22:33 +02:00
parent ba56561eec
commit 391f5bb0ec
+5 -1
View File
@@ -803,6 +803,7 @@ public class PdfBuilder
new XRect(valueX, blY1 + 4, valueW, 14),
XStringFormats.TopRight);
if (options.rsBundNrPal == null) goto nopal;
gfx.DrawString(pal_nr.ToString(), fontText, XBrushes.Black,
new XRect(valueX, blY3 + 4, valueW, 14),
XStringFormats.TopRight);
@@ -815,7 +816,7 @@ public class PdfBuilder
new XRect(valueX, blY4 + 4, valueW, 14),
XStringFormats.TopRight);
nopal:
gfx.DrawString(
$"{totalBundleNumber}/{grouped_nums.Count}",
fontText,
@@ -1179,10 +1180,12 @@ public class PdfBuilder
new XRect(valueX, blY2 + 4, valueW, 14),
XStringFormats.TopRight);
if (options.rsBundNrPal == 0) goto nopal;
gfx.DrawString(pal_nr.ToString(), fontText, XBrushes.Black,
new XRect(valueX, blY3 + 4, valueW, 14),
XStringFormats.TopRight);
gfx.DrawString(
$"{bundleOnPallet}/{Settings._instance.pdfExport.rsBundNrPal}",
fontText,
@@ -1190,6 +1193,7 @@ public class PdfBuilder
new XRect(valueX, blY4 + 4, valueW, 14),
XStringFormats.TopRight);
nopal:
gfx.DrawString(
$"{totalBundleNumber}/{grouped_nums.Count}",
fontText,