refactor(EnvelopeDocument): Aktualisiert zur Aufnahme von Common.Entities.EnvelopeDocument
This commit is contained in:
@@ -12,7 +12,7 @@ Imports EnvelopeGenerator.Common
|
||||
Imports EnvelopeGenerator.Common.My
|
||||
Imports System.ComponentModel
|
||||
Imports DevExpress.XtraPrinting
|
||||
Imports DigitalData.Domain
|
||||
Imports EnvelopeGenerator.Domain.Entities
|
||||
|
||||
Public Class frmMain
|
||||
Private ReadOnly LogConfig As LogConfig
|
||||
@@ -405,7 +405,7 @@ Public Class frmMain
|
||||
Me.Cursor = Cursors.Default
|
||||
Exit Sub
|
||||
Else
|
||||
If Not IsNothing(oDocument.Byte_Data) Then
|
||||
If Not IsNothing(oDocument.ByteData) Then
|
||||
Dim oTempFolder = TempFiles._TempPath
|
||||
Dim oTempFilename = String.Concat(oTempFolder, "\", $"ViewEnvDoc_{oEnvelope.Id}.pdf")
|
||||
If File.Exists(oTempFilename) Then
|
||||
@@ -420,7 +420,7 @@ Public Class frmMain
|
||||
|
||||
File.Delete(oTempFilename)
|
||||
End If
|
||||
downloadFile(oTempFilename, oDocument.Byte_Data)
|
||||
downloadFile(oTempFilename, oDocument.ByteData)
|
||||
End If
|
||||
End If
|
||||
Catch ex As Exception
|
||||
|
||||
Reference in New Issue
Block a user