Compare commits
3 Commits
1b56789858
...
61c3a859c6
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
61c3a859c6 | ||
|
|
d966e88583 | ||
|
|
55b2865387 |
@@ -13,12 +13,6 @@ Public Class EmailData
|
|||||||
Public Property SignatureLink As String
|
Public Property SignatureLink As String
|
||||||
Public Property Message As String
|
Public Property Message As String
|
||||||
|
|
||||||
Public ReadOnly Property EmailSubjectTranslated
|
|
||||||
Get
|
|
||||||
Return String.Format(My.Resources.Email.Sie_haben_ein_Dokument_zur_Unterschrift_erhalten___0_, EmailSubject)
|
|
||||||
End Get
|
|
||||||
End Property
|
|
||||||
|
|
||||||
Public Sub New(pEnvelope As Envelope, pReceiver As EnvelopeReceiver)
|
Public Sub New(pEnvelope As Envelope, pReceiver As EnvelopeReceiver)
|
||||||
EmailAdress = pReceiver.Email
|
EmailAdress = pReceiver.Email
|
||||||
EmailSubject = pEnvelope.Subject
|
EmailSubject = pEnvelope.Subject
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ Public Class EmailModel
|
|||||||
oSql += " VALUES (@EMAIL_ADRESS, @EMAIL_SUBJ, @EMAIL_BODY, @ADDED_WHO, @SENDING_PROFILE, @REFERENCE_ID, @REFERENCE_STRING, @REMINDER_TYPE_ID, @WF_ID)"
|
oSql += " VALUES (@EMAIL_ADRESS, @EMAIL_SUBJ, @EMAIL_BODY, @ADDED_WHO, @SENDING_PROFILE, @REFERENCE_ID, @REFERENCE_STRING, @REMINDER_TYPE_ID, @WF_ID)"
|
||||||
Dim oCommand As New SqlCommand(oSql)
|
Dim oCommand As New SqlCommand(oSql)
|
||||||
oCommand.Parameters.Add("EMAIL_ADRESS", SqlDbType.NVarChar).Value = pEmail.EmailAdress
|
oCommand.Parameters.Add("EMAIL_ADRESS", SqlDbType.NVarChar).Value = pEmail.EmailAdress
|
||||||
oCommand.Parameters.Add("EMAIL_SUBJ", SqlDbType.NVarChar).Value = pEmail.EmailSubjectTranslated
|
oCommand.Parameters.Add("EMAIL_SUBJ", SqlDbType.NVarChar).Value = pEmail.EmailSubject
|
||||||
oCommand.Parameters.Add("EMAIL_BODY", SqlDbType.NVarChar).Value = pEmail.EmailBody
|
oCommand.Parameters.Add("EMAIL_BODY", SqlDbType.NVarChar).Value = pEmail.EmailBody
|
||||||
oCommand.Parameters.Add("ADDED_WHO", SqlDbType.NVarChar).Value = "DDEnvelopGenerator"
|
oCommand.Parameters.Add("ADDED_WHO", SqlDbType.NVarChar).Value = "DDEnvelopGenerator"
|
||||||
oCommand.Parameters.Add("SENDING_PROFILE", SqlDbType.Int).Value = State.DbConfig.SendingProfile
|
oCommand.Parameters.Add("SENDING_PROFILE", SqlDbType.Int).Value = State.DbConfig.SendingProfile
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk.Web">
|
<Project Sdk="Microsoft.NET.Sdk.Web">
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>net6.0</TargetFramework>
|
<TargetFramework>net7.0</TargetFramework>
|
||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
<ImplicitUsings>enable</ImplicitUsings>
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|||||||
@@ -44,7 +44,7 @@
|
|||||||
body: JSON.stringify({}),
|
body: JSON.stringify({}),
|
||||||
}
|
}
|
||||||
|
|
||||||
console.debug('OpenDocument/Calling url: ' + url)
|
console.debug('OpenDocument/Calling url: ' + url)
|
||||||
return fetch(url, this.withCSRFToken(options))
|
return fetch(url, this.withCSRFToken(options))
|
||||||
.then(this.handleResponse)
|
.then(this.handleResponse)
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user