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:
OlgunR
2026-03-04 09:30:29 +01:00
parent 92d88812e8
commit 0e2c653784
3 changed files with 9 additions and 9 deletions

View File

@@ -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