Jobs/ZUGFeRD: Fix invoices with PDF extension being rejected

This commit is contained in:
Jonathan Jenne 2021-10-12 16:16:22 +02:00
parent 7955e9d13e
commit 8c077a9763

View File

@ -205,7 +205,7 @@ Public Class ImportZUGFeRDFiles
oCurrentFileCount += 1
' Only pdf files are allowed from here on
If Not oFile.Name.EndsWith(".pdf") Then
If Not oFile.Name.ToUpper.EndsWith(".PDF") Then
_logger.Debug("Skipping non-pdf file {0}", oFile.Name)
oEmailAttachmentFiles.Add(oFile)