Rename EnvelopeType to Defaults in EnvelopeDto

Updated the `EnvelopeDto` class to rename the `EnvelopeType` property to `Defaults` for better clarity. Updated all references to `EnvelopeType` in `SenderEditorPage.razor` to use the new `Defaults` property. This includes updates to properties such as `_sendReminderEmails`, `_firstReminderDays`, `_reminderIntervalDays`, `_expiresWhenDays`, and `_expiresWarningWhenDays`. Ensured consistent usage of the renamed property across the application.
This commit is contained in:
2026-11-12 17:04:07 +01:00
parent f4d2b65943
commit 22895e259a
2 changed files with 6 additions and 6 deletions

View File

@@ -797,11 +797,11 @@
_finalEmailToCreator = envelope.FinalEmailToCreator ?? (int)FinalEmailType.No;
_finalEmailToReceivers = envelope.FinalEmailToReceivers ?? (int)FinalEmailType.No;
_sendReminderEmails = envelope.SendReminderEmails ?? envelope.EnvelopeType?.SendReminderEmails ?? false;
_firstReminderDays = envelope.FirstReminderDays ?? envelope.EnvelopeType?.FirstReminderDays ?? 0;
_reminderIntervalDays = envelope.ReminderIntervalDays ?? envelope.EnvelopeType?.ReminderIntervalDays ?? 0;
_expiresWhenDays = envelope.ExpiresWhenDays ?? envelope.EnvelopeType?.ExpiresDays ?? 0;
_expiresWarningWhenDays = envelope.ExpiresWarningWhenDays ?? envelope.EnvelopeType?.ExpiresWarningDays ?? 0;
_sendReminderEmails = envelope.SendReminderEmails ?? envelope.Defaults?.SendReminderEmails ?? false;
_firstReminderDays = envelope.FirstReminderDays ?? envelope.Defaults?.FirstReminderDays ?? 0;
_reminderIntervalDays = envelope.ReminderIntervalDays ?? envelope.Defaults?.ReminderIntervalDays ?? 0;
_expiresWhenDays = envelope.ExpiresWhenDays ?? envelope.Defaults?.ExpiresDays ?? 0;
_expiresWarningWhenDays = envelope.ExpiresWarningWhenDays ?? envelope.Defaults?.ExpiresWarningDays ?? 0;
NormalizeSettings();