GDPicture Update

This commit is contained in:
Developer01
2025-09-18 16:37:05 +02:00
parent e9427b35be
commit e13434ccff
6 changed files with 97 additions and 94 deletions

View File

@@ -47,7 +47,7 @@ Public Class ImportZUGFeRDFiles
'- application/vnd.openxmlformats-officedocument.spreadsheetml.sheet (xlsx)
'- application/vnd.oasis.opendocument.spreadsheet (odt)
'- image/jpeg
'- image/png
'- image/png _gdpictureLicenseKey
'- image/tiff (UBL)
'- text/csv
'- text/xml (UBL)
@@ -101,7 +101,7 @@ Public Class ImportZUGFeRDFiles
_history = New ZUGFeRD.HistoryFunctions(LogConfig, _mssql)
_embeds = New PDFEmbeds(LogConfig)
_hash = New HashFunctions(_logConfig, _mssql)
_xRechnungCreator = New XRechnungViewDocument(_logConfig, _mssql, _gdpictureLicenseKey)
_logger.Debug("Registering GDPicture License")
If _mssql IsNot Nothing Then
_gdpictureLicenseKey = ConfigDbFunct.GetProductLicense("GDPICTURE", "11.2024", _logConfig, _mssql.CurrentConnectionString)
@@ -109,6 +109,7 @@ Public Class ImportZUGFeRDFiles
_logger.Warn("GDPicture License could not be registered! MSSQL is not enabled!")
Throw New ArgumentNullException("MSSQL")
End If
_xRechnungCreator = New XRechnungViewDocument(_logConfig, _mssql, _gdpictureLicenseKey)
End Sub
Public Sub Start(Arguments As Object) Implements IJob.Start