Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -620,6 +620,7 @@ public void UpdateUserDetailsAccount(string firstName, string lastName, string p
ce.CentreName,
ce.Active AS CentreActive,
da.DateRegistered,
da.LastAccessed,
da.CandidateNumber,
da.Approved,
da.SelfReg,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ public SuperAdminDelegateAccount(DelegateEntity delegateEntity)
LearningHubAuthId = delegateEntity.UserAccount.LearningHubAuthId;
RegistrationConfirmationHash = delegateEntity.DelegateAccount.RegistrationConfirmationHash;
DateRegistered = delegateEntity.DelegateAccount.DateRegistered;
LastAccessed = delegateEntity.DelegateAccount.LastAccessed;
SelfReg = delegateEntity.DelegateAccount.SelfReg;
Active = delegateEntity.DelegateAccount.Active;
EmailVerified = delegateEntity.UserAccount.EmailVerified;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ ReturnPageQuery returnPageQuery
LearningHubID = delegates.LearningHubAuthId;
AccountClaimed = delegates.RegistrationConfirmationHash;
DateRegistered = delegates.DateRegistered?.ToString(Data.Helpers.DateHelper.StandardDateFormat);
LastAccessed = delegates.LastAccessed?.ToString(Data.Helpers.DateHelper.StandardDateFormat);
SelRegistered = delegates.SelfReg;
IsDelegateActive = delegates.Active;
IsCentreEmailVerified = delegates.CentreEmailVerified == null ? false : true;
Expand All @@ -52,6 +53,7 @@ ReturnPageQuery returnPageQuery
public bool IsLocked { get; set; }
public string AccountClaimed { get; set; }
public string? DateRegistered { get; set; }
public string? LastAccessed { get; set; }
public bool SelRegistered { get; set; }
public bool IsDelegateActive { get; set; }
public bool IsUserActive { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,14 @@
<dd class="nhsuk-summary-list__actions">
</dd>
</div>
<div class="nhsuk-summary-list__row details-list-with-button__row">
<dt class="nhsuk-summary-list__key">
Last Accessed
</dt>
<partial name="_SummaryFieldValue" model="@Model.LastAccessed" />
<dd class="nhsuk-summary-list__actions">
</dd>
</div>
<div class="nhsuk-summary-list__row details-list-with-button__row">
<dt class="nhsuk-summary-list__key">
Self registered
Expand Down
Loading