File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 1
- { * Licensed to the Apache Software Foundation (ASF) under one
1
+ { * Licensed to the Apache Software Foundation (ASF) under one
2
2
* or more contributor license agreements. See the NOTICE file
3
3
* distributed with this work for additional information
4
4
* regarding copyright ownership. The ASF licenses this file
@@ -264,7 +264,8 @@ function TZUGFeRDPdfHelper.PdfTkServerGetZUGFeRDPdfAttachment(const _PdfFilename
264
264
lList := TDirectory.GetFiles(tmpPath,' *.xml' , TSearchOption.soTopDirectoryOnly);
265
265
for i := 0 to Length(LList) - 1 do
266
266
if (Pos(' zugferd' ,LowerCase(ExtractFilename(LList[i]))) = 1 ) or
267
- (Pos(' factur-x' ,LowerCase(ExtractFilename(LList[i]))) = 1 ) then
267
+ (Pos(' factur-x' ,LowerCase(ExtractFilename(LList[i]))) = 1 ) or
268
+ (Pos(' xrechnung' ,LowerCase(ExtractFilename(LList[i]))) = 1 )then
268
269
begin
269
270
_Attachment := TMemoryStream.Create;
270
271
TMemoryStream(_Attachment).LoadFromFile(LList[i]);
You can’t perform that action at this time.
0 commit comments