diff --git a/Base/Base.vbproj b/Base/Base.vbproj index 84cca253..a83e34ad 100644 --- a/Base/Base.vbproj +++ b/Base/Base.vbproj @@ -82,6 +82,7 @@ + diff --git a/Base/ECM/ECM.vb b/Base/ECM/ECM.vb new file mode 100644 index 00000000..7fc7dbf8 --- /dev/null +++ b/Base/ECM/ECM.vb @@ -0,0 +1,8 @@ +Public Class ECM + Public Enum Product + taskFLOW + easyFLOW + fileFLOW + signFLOW + End Enum +End Class diff --git a/Jobs/ZUGFeRD/XRechnungViewDocument.vb b/Jobs/ZUGFeRD/XRechnungViewDocument.vb index 38040cb3..7a910bea 100644 --- a/Jobs/ZUGFeRD/XRechnungViewDocument.vb +++ b/Jobs/ZUGFeRD/XRechnungViewDocument.vb @@ -143,6 +143,8 @@ Public Class XRechnungViewDocument oIsPosition = True ElseIf oArea = "PAYMENT" Then oAREACaption = "Zahlungsinformationen / Payment details:" + ElseIf oArea = "EXEMPTION" Then + oAREACaption = "UST.-Befreiungsgrund / Exemption reason:" Else oAREACaption = String.Empty End If @@ -170,6 +172,8 @@ Public Class XRechnungViewDocument MyGDPicturePDF.DrawText(fontResName, 181, yPosition, "Betrag/sum") yPosition += 5 'Tabellendarstellung Ende + ElseIf oArea = "EXEMPTION" Then + End If End If If oArea = "TYPE" Then @@ -206,6 +210,7 @@ Public Class XRechnungViewDocument oDisplay = False yPosition -= 5 End If + End If Else 'INDIVIDUELLES VERHALTEN BEI Folge-ITEMS @@ -304,6 +309,8 @@ Public Class XRechnungViewDocument oDisplay = False ElseIf oItemSPECNAME = "INVOICE_TAXPOS_TYPE" Then oPosTerm += $" {oItemValue}" + ElseIf oItemValue.Contains("EXEMPTION") Then + _logger.Debug($"We got an Exemption: {oItemValue}") End If oItemValue = oPosTerm End If diff --git a/Windream/Windream.vb b/Windream/Windream.vb index 340faac6..87676b00 100644 --- a/Windream/Windream.vb +++ b/Windream/Windream.vb @@ -784,7 +784,7 @@ Public Class Windream Return False End Try - _logger.Info($"File '{FilenameTarget}' has been streamde successfully!") + _logger.Info($"File '{FilenameTarget}' has been successfully streamed to windream!") Dim oDocid = GetIndexValue(FilenameTarget, "Dokument-ID") If Not IsNothing(oDocid) Then NewDocumentID = oDocid(0)