2023-10-11
This commit is contained in:
@@ -95,9 +95,9 @@ Public Class EnvelopeEditorController
|
||||
|
||||
Dim newHistoryEntry As New EnvelopeHistoryEntry With {
|
||||
.EnvelopeId = oEnvelope.Id,
|
||||
.ActionType = ActionType.Created,
|
||||
.ActionType = EnvelopeHistoryActionType.Created,
|
||||
.ActionDescription = "Envelope wurde neu erstellt",
|
||||
.UserEmailAddress = oEnvelope.User.Email
|
||||
.UserReference = oEnvelope.User.Email
|
||||
}
|
||||
|
||||
HistoryModel.Insert(newHistoryEntry)
|
||||
@@ -272,6 +272,14 @@ Public Class EnvelopeEditorController
|
||||
oReceiver.Id = 0
|
||||
Next
|
||||
|
||||
For Each oCurrentReceiver In pCurrentReceivers
|
||||
If oCurrentReceiver.Id = 0 Then
|
||||
Dim oExistingReceiver As EnvelopeReceiver = oExistingReceivers.Where(Function(r) r.Email = oCurrentReceiver.Email).First()
|
||||
oCurrentReceiver.Id = oExistingReceiver.Id
|
||||
End If
|
||||
Next
|
||||
|
||||
|
||||
Dim oConnection = Database.GetConnection()
|
||||
Dim oTransaction = oConnection.BeginTransaction()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user