From 455ab536d86ef216f550f60300db7b9d11d25c68 Mon Sep 17 00:00:00 2001 From: sherif-olaboye <123654949+sherif-olaboye@users.noreply.github.com> Date: Thu, 15 Jan 2026 11:50:54 +0000 Subject: [PATCH 1/2] TD-6763 Export doesn't include the Centre email address - Tracking system Delegate page --- .../Services/DelegateDownloadFileService.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/DigitalLearningSolutions.Web/Services/DelegateDownloadFileService.cs b/DigitalLearningSolutions.Web/Services/DelegateDownloadFileService.cs index f0bba93403..08c1685f6f 100644 --- a/DigitalLearningSolutions.Web/Services/DelegateDownloadFileService.cs +++ b/DigitalLearningSolutions.Web/Services/DelegateDownloadFileService.cs @@ -36,6 +36,8 @@ public class DelegateDownloadFileService : IDelegateDownloadFileService private const string FirstName = "First name"; private const string DelegateId = "ID"; private const string Email = "Email"; + private const string PrimaryEmail = "PrimaryEmail"; + private const string CentreEmail = "CentreEmail"; private const string ProfessionalRegistrationNumber = "Professional Registration Number"; private const string JobGroup = "Job group"; private const string RegisteredDate = "Registered"; @@ -331,6 +333,8 @@ DataTable dataTable new DataColumn(FirstName), new DataColumn(DelegateId), new DataColumn(Email), + new DataColumn(PrimaryEmail), + new DataColumn(CentreEmail), new DataColumn(ProfessionalRegistrationNumber), new DataColumn(JobGroup), new DataColumn(RegisteredDate), @@ -370,6 +374,8 @@ CentreRegistrationPrompts registrationPrompts row[FirstName] = delegateRecord.FirstName; row[DelegateId] = delegateRecord.CandidateNumber; row[Email] = delegateRecord.EmailAddress; + row[CentreEmail] = delegateRecord.Email; + row[PrimaryEmail] = delegateRecord.PrimaryEmail; row[ProfessionalRegistrationNumber] = PrnHelper.GetPrnDisplayString( delegateRecord.HasBeenPromptedForPrn, delegateRecord.ProfessionalRegistrationNumber From 77509fe73eb2fecdcdaec3bf91f20fcff217cfc7 Mon Sep 17 00:00:00 2001 From: sherif-olaboye <123654949+sherif-olaboye@users.noreply.github.com> Date: Thu, 15 Jan 2026 12:14:59 +0000 Subject: [PATCH 2/2] TD-6763 Removing the email field form the report sheet --- .../Services/DelegateDownloadFileService.cs | 3 --- 1 file changed, 3 deletions(-) diff --git a/DigitalLearningSolutions.Web/Services/DelegateDownloadFileService.cs b/DigitalLearningSolutions.Web/Services/DelegateDownloadFileService.cs index 08c1685f6f..fa8afe7b9e 100644 --- a/DigitalLearningSolutions.Web/Services/DelegateDownloadFileService.cs +++ b/DigitalLearningSolutions.Web/Services/DelegateDownloadFileService.cs @@ -35,7 +35,6 @@ public class DelegateDownloadFileService : IDelegateDownloadFileService private const string LastName = "Last name"; private const string FirstName = "First name"; private const string DelegateId = "ID"; - private const string Email = "Email"; private const string PrimaryEmail = "PrimaryEmail"; private const string CentreEmail = "CentreEmail"; private const string ProfessionalRegistrationNumber = "Professional Registration Number"; @@ -332,7 +331,6 @@ DataTable dataTable new DataColumn(LastName), new DataColumn(FirstName), new DataColumn(DelegateId), - new DataColumn(Email), new DataColumn(PrimaryEmail), new DataColumn(CentreEmail), new DataColumn(ProfessionalRegistrationNumber), @@ -373,7 +371,6 @@ CentreRegistrationPrompts registrationPrompts row[LastName] = delegateRecord.LastName; row[FirstName] = delegateRecord.FirstName; row[DelegateId] = delegateRecord.CandidateNumber; - row[Email] = delegateRecord.EmailAddress; row[CentreEmail] = delegateRecord.Email; row[PrimaryEmail] = delegateRecord.PrimaryEmail; row[ProfessionalRegistrationNumber] = PrnHelper.GetPrnDisplayString(