ZUGFeRDService: Add RejectionTransferEnabled option
This commit is contained in:
parent
a40b22d891
commit
59cfbb1984
@ -31,7 +31,7 @@
|
|||||||
Public Property MaxAttachmentSizeInMegaBytes As Integer = -1
|
Public Property MaxAttachmentSizeInMegaBytes As Integer = -1
|
||||||
|
|
||||||
|
|
||||||
Public Property RejectionTransferEnabled As Boolean = False
|
Public Property RejectionTransferEnabled As Boolean = True
|
||||||
Public Property RejectionTransferTimeUnit As String = "HOUR"
|
Public Property RejectionTransferTimeUnit As String = "HOUR"
|
||||||
Public Property RejectionTransferTimeValue As Integer = 12
|
Public Property RejectionTransferTimeValue As Integer = 12
|
||||||
End Class
|
End Class
|
||||||
|
|||||||
@ -184,6 +184,8 @@ Public Class ThreadRunner
|
|||||||
Try
|
Try
|
||||||
If _config.Config.Custom.RejectionTransferEnabled = True Then
|
If _config.Config.Custom.RejectionTransferEnabled = True Then
|
||||||
MaybeUpdateRejected()
|
MaybeUpdateRejected()
|
||||||
|
Else
|
||||||
|
_logger.Debug("Transferring rejection status to Firebird is disabled.")
|
||||||
End If
|
End If
|
||||||
|
|
||||||
Dim oArgs As WorkerArgs = e.Argument
|
Dim oArgs As WorkerArgs = e.Argument
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user