Add support for phone numbers in receiver workflow

Enhanced the envelope creation workflow to handle phone numbers:
- Added `PhoneNumber` property to `RecentReceiverSuggestionDto`.
- Updated `MappingProfile` to map `PhoneNumber`.
- Modified LINQ queries to include `PhoneNumber` in selection/grouping.
- Enhanced `CreateEnvelopeWizardPopup.razor` to display and manage phone numbers.
- Updated `CreateEnvelopeWizardReceiver` to include `PhoneNumber`.
- Enhanced `ReceiverFilterCriteria` and `ReceiverSuggestionFilterHandler` to filter by `PhoneNumber`.
- Adjusted CSS layout to accommodate the new phone number field.
- Added a unit test to ensure `PhoneNumber` persistence.

These changes allow users to input, display, and manage phone numbers alongside existing receiver details like name and email.
This commit is contained in:
2026-11-30 16:34:14 +01:00
parent d82d0f4a66
commit 402100a526
10 changed files with 136 additions and 44 deletions

View File

@@ -868,7 +868,11 @@
Send = false,
Document = string.IsNullOrWhiteSpace(docBase64) ? null : new CreateEnvelopeDocumentDto(docBase64),
Receivers = result.Receivers
.Select(x => new CreateEnvelopeReceiverDto(x.EmailAddress, x.FullName, null, []))
.Select(x => new CreateEnvelopeReceiverDto(
x.EmailAddress,
x.FullName,
string.IsNullOrWhiteSpace(x.PhoneNumber) ? null : x.PhoneNumber,
[]))
.ToList()
};