diff --git a/DigitalLearningSolutions.Data/DataServices/SelfAssessmentDataService/CandidateAssessmentsDataService.cs b/DigitalLearningSolutions.Data/DataServices/SelfAssessmentDataService/CandidateAssessmentsDataService.cs index 3a28a4faea..f982934cd3 100644 --- a/DigitalLearningSolutions.Data/DataServices/SelfAssessmentDataService/CandidateAssessmentsDataService.cs +++ b/DigitalLearningSolutions.Data/DataServices/SelfAssessmentDataService/CandidateAssessmentsDataService.cs @@ -186,6 +186,7 @@ CandidateAssessments AS CA LEFT OUTER JOIN SA.SupervisorSelfAssessmentReview, SA.ReviewerCommentsLabel, SA.EnforceRoleRequirementsForSignOff, + SA.RetirementDate, COALESCE(SA.Vocabulary, 'Capability') AS Vocabulary, COUNT(C.ID) AS NumberOfCompetencies, CA.StartedDate, @@ -256,7 +257,8 @@ GROUP BY CA.LaunchCount, CA.SubmittedDate, SA.LinearNavigation, SA.UseDescriptionExpanders, SA.ManageOptionalCompetenciesPrompt, SA.SupervisorSelfAssessmentReview, SA.SupervisorResultsReview, SA.ReviewerCommentsLabel,SA.EnforceRoleRequirementsForSignOff, SA.ManageSupervisorsDescription,CA.NonReportable, - U.FirstName , U.LastName,SA.MinimumOptionalCompetencies, CA.SelfAssessmentProcessAgreed, SA.IncludeLearnerDeclarationPrompt", + U.FirstName , U.LastName,SA.MinimumOptionalCompetencies, CA.SelfAssessmentProcessAgreed, SA.IncludeLearnerDeclarationPrompt, + SA.RetirementDate", new { delegateUserId, selfAssessmentId } ); } diff --git a/DigitalLearningSolutions.Web/Views/LearningPortal/SelfAssessments/SelfAssessmentOverview.cshtml b/DigitalLearningSolutions.Web/Views/LearningPortal/SelfAssessments/SelfAssessmentOverview.cshtml index 4f3bed409c..a63546665e 100644 --- a/DigitalLearningSolutions.Web/Views/LearningPortal/SelfAssessments/SelfAssessmentOverview.cshtml +++ b/DigitalLearningSolutions.Web/Views/LearningPortal/SelfAssessments/SelfAssessmentOverview.cshtml @@ -48,7 +48,7 @@ {
@@ -56,6 +56,24 @@A new version of this assessment is now available. As you’re already begun, you can choose what works best for you.
+You are about to enrol learners on a retiring self-assessment.
Retirement date: @Model.RetirementDate?.ToString("dd/MM/yyyy")
-After this date, this self-assessment will no longer be available for use.
Please note:
To continue, you must acknowledge that you understand the self-assessment is being retired and you still wish to proceed.