ZUGFeRD Interface: Fix moving attachments to success folder instead of attachments
This commit is contained in:
parent
efade78579
commit
a46809ae24
@ -778,8 +778,11 @@ Public Class ImportZUGFeRDFiles
|
|||||||
End Try
|
End Try
|
||||||
End If
|
End If
|
||||||
|
|
||||||
|
' Filter out Attachments from `Files`
|
||||||
|
Dim oInvoiceFiles As List(Of FileInfo) = Files.Except(AttachmentFiles).ToList()
|
||||||
|
|
||||||
' Move PDF/A Files
|
' Move PDF/A Files
|
||||||
For Each oFile In Files
|
For Each oFile In oInvoiceFiles
|
||||||
Try
|
Try
|
||||||
Dim oFileName = _filesystem.GetVersionedFilename(Path.Combine(oFinalMoveDirectory, oFile.Name))
|
Dim oFileName = _filesystem.GetVersionedFilename(Path.Combine(oFinalMoveDirectory, oFile.Name))
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user