refactor(EnvelopeHistory): ersetzt mitg als Common.Entites.EnvelopeHistory
This commit is contained in:
parent
c6fe039dd8
commit
10b05d6301
@ -1,14 +0,0 @@
|
|||||||
Imports EnvelopeGenerator.Domain
|
|
||||||
|
|
||||||
Public Class EnvelopeHistory
|
|
||||||
Public Property EnvelopeId As Integer
|
|
||||||
Public Property UserReference As String
|
|
||||||
Public Property Status As Constants.EnvelopeStatus
|
|
||||||
Public ReadOnly Property StatusTranslated As String
|
|
||||||
Get
|
|
||||||
Dim oStatus = Status.ToString()
|
|
||||||
Return My.Resources.Model.ResourceManager.GetString(oStatus)
|
|
||||||
End Get
|
|
||||||
End Property
|
|
||||||
Public Property ActionDate As Date = Now()
|
|
||||||
End Class
|
|
||||||
@ -280,7 +280,6 @@
|
|||||||
<Compile Include="Jobs\APIBackendJobs\APIEnvelopeJob.vb" />
|
<Compile Include="Jobs\APIBackendJobs\APIEnvelopeJob.vb" />
|
||||||
<Compile Include="Jobs\FinalizeDocument\PDFBurnerParams.vb" />
|
<Compile Include="Jobs\FinalizeDocument\PDFBurnerParams.vb" />
|
||||||
<Compile Include="Services\TemplateService.vb" />
|
<Compile Include="Services\TemplateService.vb" />
|
||||||
<Compile Include="Entities\EnvelopeHistory.vb" />
|
|
||||||
<Compile Include="Entities\EnvelopeReceiver.vb" />
|
<Compile Include="Entities\EnvelopeReceiver.vb" />
|
||||||
<Compile Include="Entities\State.vb" />
|
<Compile Include="Entities\State.vb" />
|
||||||
<Compile Include="Helpers.vb" />
|
<Compile Include="Helpers.vb" />
|
||||||
|
|||||||
@ -1,5 +1,6 @@
|
|||||||
Imports System.Data.SqlClient
|
Imports System.Data.SqlClient
|
||||||
Imports DigitalData.Modules.Base
|
Imports DigitalData.Modules.Base
|
||||||
|
Imports EnvelopeGenerator.Domain.Entities
|
||||||
|
|
||||||
Public Class HistoryModel
|
Public Class HistoryModel
|
||||||
Inherits BaseModel
|
Inherits BaseModel
|
||||||
|
|||||||
@ -76,7 +76,7 @@ Public Class EnvelopeEditorController
|
|||||||
|
|
||||||
If EnvelopeModel.Insert(oEnvelope) Then
|
If EnvelopeModel.Insert(oEnvelope) Then
|
||||||
|
|
||||||
Dim newHistoryEntry As New Common.EnvelopeHistoryWith {
|
Dim newHistoryEntry As New EnvelopeHistory With {
|
||||||
.EnvelopeId = oEnvelope.Id,
|
.EnvelopeId = oEnvelope.Id,
|
||||||
.Status = EnvelopeStatus.EnvelopeCreated,
|
.Status = EnvelopeStatus.EnvelopeCreated,
|
||||||
.UserReference = oEnvelope.User.Email
|
.UserReference = oEnvelope.User.Email
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user