Refactor SignatureLinkText to DocumentProcess property
Replaced SignatureLinkText with DocumentProcess in EmailData and updated all references. Adjusted DynamicStringsForEmails logic and template replacements accordingly. Added debug logging for template replacements. Bumped assembly version to 2.7.1.0.
This commit is contained in:
@@ -33,7 +33,7 @@ Public Class TemplateService
|
||||
{"[MESSAGE]", pEmailData.Message},
|
||||
{"[DOCUMENT_ACCESS_CODE]", pEmailData.ReceiverAccessCode},
|
||||
{"[REASON]", pReason},
|
||||
{"[SIGNATURE_LINK_TEXT]", pEmailData.SignatureLinkText}
|
||||
{"[DOCUMENT_PROCESS]", pEmailData.DocumentProcess}
|
||||
}
|
||||
End Sub
|
||||
|
||||
@@ -82,7 +82,7 @@ Public Class TemplateService
|
||||
|
||||
For Each dictItem As KeyValuePair(Of String, String) In _replaceDictionary
|
||||
If oText.Contains(dictItem.Key) Then
|
||||
|
||||
Logger.Debug($"Replacing {dictItem.Key} with {dictItem.Value}")
|
||||
oText = oText.Replace(dictItem.Key, dictItem.Value)
|
||||
|
||||
End If
|
||||
|
||||
Reference in New Issue
Block a user