Set envelope default message by type using resources
Added "Please read and confirm this document" to resource files and updated resource class. Replaced Envelope constructor with WithDefaultMessage extension method to set default message based on EnvelopeTypeId. Updated controller and editor form to use this method. Cleaned up imports and comments.
This commit is contained in:
@@ -139,7 +139,7 @@ Partial Public Class frmEnvelopeEditor
|
||||
End If
|
||||
End If
|
||||
|
||||
txtMessage.EditValue = Controller.Envelope.Message
|
||||
txtMessage.EditValue = Controller.Envelope.WithDefaultMessage().Message
|
||||
|
||||
GridDocuments.DataSource = Documents
|
||||
GridReceivers.DataSource = Receivers
|
||||
|
||||
Reference in New Issue
Block a user