Skip to content

Conversation

@daniel-manta-hee
Copy link
Contributor

Add overall progress summary to Sign-off area on SelfAssessmentOverview.cshtml.

JIRA link

https://hee-dls.atlassian.net/browse/DLSV2-518

Description

Created total counters for self-assessed and confirmed (verified) questions in SelfAssessmentOverview.cshtml. Passing partial counts to _CompetencySummary.cshml by means of a ViewDataDictionary.

Screenshots

image


Developer checks

Checked that totals match the addition of all cards for self assessed and confirmed questions.

</span>
<br />
@if (selfAssessment.IsSupervisorResultsReviewed)
@if (isSupervisorResultsReviewed)
Copy link
Contributor

@kevwhitt-hee kevwhitt-hee Mar 9, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs applying to the overall summary. Currently, the confirmed summary is always shown (this is a self assessment where isSupervisorResultsReviewed == false):
image

<h2>Overall Progress</h2>
<p class="nhsuk-body-l">
<span class="score">Self assessed: @selfAssessedTotal / @questionsTotal</span>
<span class="score">Confirmed: @verifiedTotal / @questionsTotal</span>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

isSupervisorResultsReviewed check needs to be added here

@kevwhitt-hee kevwhitt-hee merged commit a13106a into master Mar 21, 2022
@kevwhitt-hee kevwhitt-hee deleted the Develop/Features/DLSV2-518-AddOverallProgressToSelfAssessmentOverview branch March 21, 2022 07:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants