diff --git a/Dfe.ManageFreeSchoolProjects/Dfe.ManageFreeSchoolProjects/Pages/Project/Tasks/PreFundingAgreementCheckpointMeeting/ViewPreFundingAgreementCheckpointMeeting.cshtml b/Dfe.ManageFreeSchoolProjects/Dfe.ManageFreeSchoolProjects/Pages/Project/Tasks/PreFundingAgreementCheckpointMeeting/ViewPreFundingAgreementCheckpointMeeting.cshtml index 951632b5c..a6abaae1d 100644 --- a/Dfe.ManageFreeSchoolProjects/Dfe.ManageFreeSchoolProjects/Pages/Project/Tasks/PreFundingAgreementCheckpointMeeting/ViewPreFundingAgreementCheckpointMeeting.cshtml +++ b/Dfe.ManageFreeSchoolProjects/Dfe.ManageFreeSchoolProjects/Pages/Project/Tasks/PreFundingAgreementCheckpointMeeting/ViewPreFundingAgreementCheckpointMeeting.cshtml @@ -20,7 +20,6 @@
-

@Model.Project.SchoolName @@ -53,5 +52,17 @@ Confirm and continue + +
+
+

Review risk rating

+

You may want to update the risk rating after the readiness to open meeting.

+ +
+

\ No newline at end of file diff --git a/Dfe.ManageFreeSchoolProjects/Dfe.ManageFreeSchoolProjects/Pages/Project/Tasks/PreFundingAgreementCheckpointMeeting/ViewPreFundingAgreementCheckpointMeeting.cshtml.cs b/Dfe.ManageFreeSchoolProjects/Dfe.ManageFreeSchoolProjects/Pages/Project/Tasks/PreFundingAgreementCheckpointMeeting/ViewPreFundingAgreementCheckpointMeeting.cshtml.cs index 9656c51cc..d5d7e8cf9 100644 --- a/Dfe.ManageFreeSchoolProjects/Dfe.ManageFreeSchoolProjects/Pages/Project/Tasks/PreFundingAgreementCheckpointMeeting/ViewPreFundingAgreementCheckpointMeeting.cshtml.cs +++ b/Dfe.ManageFreeSchoolProjects/Dfe.ManageFreeSchoolProjects/Pages/Project/Tasks/PreFundingAgreementCheckpointMeeting/ViewPreFundingAgreementCheckpointMeeting.cshtml.cs @@ -1,3 +1,4 @@ +using Dfe.ManageFreeSchoolProjects.API.Contracts.Project.Risk; using Dfe.ManageFreeSchoolProjects.API.Contracts.Project.Tasks; using Dfe.ManageFreeSchoolProjects.Constants; using Dfe.ManageFreeSchoolProjects.Logging; @@ -9,30 +10,31 @@ namespace Dfe.ManageFreeSchoolProjects.Pages.Project.Tasks.PreFundingAgreementCheckpointMeeting; -public class ViewPreFundingAgreementCheckpointMeetingModel : ViewTaskBaseModel +public class ViewPreFundingAgreementCheckpointMeetingModel( + IGetProjectByTaskService getProjectService, + IGetTaskStatusService getTaskStatusService, + IUpdateTaskStatusService updateTaskStatusService, + IGetProjectRiskService getProjectRiskService, + ILogger logger) + : ViewTaskBaseModel(getProjectService, getTaskStatusService, updateTaskStatusService) { - private readonly ILogger _logger; - public ViewPreFundingAgreementCheckpointMeetingModel( - IGetProjectByTaskService getProjectService, - ILogger logger, - IGetTaskStatusService getTaskStatusService, IUpdateTaskStatusService updateTaskStatusService) : base(getProjectService, getTaskStatusService, updateTaskStatusService) - { - _logger = logger; - } + public GetProjectRiskResponse ProjectRisk { get; set; } public async Task OnGet() { - _logger.LogMethodEntered(); + logger.LogMethodEntered(); await GetTask(TaskName.PreFundingAgreementCheckpointMeeting); + ProjectRisk = await getProjectRiskService.Execute(ProjectId, 1); + return Page(); } public async Task OnPost() { - _logger.LogMethodEntered(); + logger.LogMethodEntered(); await PostTask(TaskName.PreFundingAgreementCheckpointMeeting);