Refactor envelope type handling and validation logic

- Change ContractType property to use Constants.ContractType enum for improved type safety.
- Move EnvelopeType selection to a shared module-level variable for consistent access.
- Allow user selection of contract type when creating envelopes.
- Refine envelope validation to check for required elements per receiver, with improved error messages.
This commit is contained in:
OlgunR
2026-02-19 13:37:58 +01:00
parent 341713d4cb
commit ae33254743
4 changed files with 20 additions and 15 deletions

View File

@@ -27,4 +27,5 @@ Module ModuleSettings
Public MyState As State
Public CurrentEnvelopID As Integer = 0
Public CurrentEnvelopetitle As String = ""
Public EnvelopeType As EnvelopeType
End Module