File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
DigitalLearningSolutions.Web/Views/LearningPortal/SelfAssessments Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 2525 { " selfAssessedCount" , selfAssessedCount },
2626 { " verifiedCount" , verifiedCount }
2727 };
28-
28+ var competencyQuestionsSummary = competencySummaries .Sum (c => (int )c [" questionsCount" ]);
29+ var competencyVerifiedSummary = competencySummaries .Sum (c => (int )c [" verifiedCount" ]);
2930 Layout = " SelfAssessments/_Layout" ;
3031 ViewData [" Title" ] = " Self Assessment - Proficiencies" ;
3132 ViewData [" SelfAssessmentTitle" ] = Model .SelfAssessment .Name ;
199200 All required @Model.SelfAssessment.Vocabulary.ToLower() self - assessments must be completed and confirmed ,
200201 before requesting @Model.SelfAssessment.SignOffRoleName sign off of the @Model.SelfAssessment.Name.
201202 </p >
203+ @if (competencyQuestionsSummary == competencyVerifiedSummary )
204+ {
202205 <p class =" nhsuk-body-l" >
203206 Your self assessment does not contain enough optional proficiencies to request sign off .
204207 Go to Manage Optional Competencies to choose the optional competencies that you wish to include ..
205208 </p >
209+ }
206210 }
207211 </div >
208212 }
You can’t perform that action at this time.
0 commit comments