[fix:] typo and two comments
This commit is contained in:
+3
-1
@@ -131,6 +131,7 @@ public class PdfBuilder
|
||||
senderLine = null;
|
||||
}
|
||||
|
||||
// national addresses
|
||||
for (var i = 0; i < addressSet.KasPersons.Count; i++)
|
||||
{
|
||||
if (!addressSet.KasPersons[i].IsGermany()) continue;
|
||||
@@ -142,6 +143,7 @@ public class PdfBuilder
|
||||
addresses_german.Add(addr);
|
||||
}
|
||||
|
||||
// international addresses
|
||||
for (var i = 0; i < addressSet.KasPersons.Count; i++)
|
||||
{
|
||||
if (addressSet.KasPersons[i].IsGermany()) continue;
|
||||
@@ -161,7 +163,7 @@ public class PdfBuilder
|
||||
return;
|
||||
}
|
||||
|
||||
string output_inter = outputPath.Replace(".pdf", "-internation.pdf");
|
||||
string output_inter = outputPath.Replace(".pdf", "-international.pdf");
|
||||
|
||||
if(addresses_german.Count > 0) CreateAddressLabelPdfWithPlaceholder(addresses_german, placeholderText, outputPath);
|
||||
if(addresses_inter.Count > 0) CreateAddressLabelPdfWithPlaceholder(addresses_inter, placeholderText, output_inter);
|
||||
|
||||
Reference in New Issue
Block a user