Jobs/ZUGFeRD: Fix invoices with PDF extension being rejected
This commit is contained in:
parent
7955e9d13e
commit
8c077a9763
@ -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)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user