diff --git a/Dfe.PrepareTransfers.Web/Pages/Projects/AcademyAndTrustInformation/Index.cshtml b/Dfe.PrepareTransfers.Web/Pages/Projects/AcademyAndTrustInformation/Index.cshtml index e2af0c35a..656d5d8b0 100644 --- a/Dfe.PrepareTransfers.Web/Pages/Projects/AcademyAndTrustInformation/Index.cshtml +++ b/Dfe.PrepareTransfers.Web/Pages/Projects/AcademyAndTrustInformation/Index.cshtml @@ -3,7 +3,7 @@ @model Dfe.PrepareTransfers.Web.Pages.Projects.AcademyAndTrustInformation.Index @{ - ViewBag.Title = "Trust information and project dates"; + ViewBag.Title = "Trust information"; Layout = "_Layout"; } @@ -18,7 +18,7 @@ Project reference: @Model.ProjectReference

- Trust information and project dates + Trust information


diff --git a/Dfe.PrepareTransfers.Web/Pages/Projects/TransferDates/PreviousAdvisoryBoard.cshtml.cs b/Dfe.PrepareTransfers.Web/Pages/Projects/TransferDates/PreviousAdvisoryBoard.cshtml.cs index b65dca376..249b3f1e6 100644 --- a/Dfe.PrepareTransfers.Web/Pages/Projects/TransferDates/PreviousAdvisoryBoard.cshtml.cs +++ b/Dfe.PrepareTransfers.Web/Pages/Projects/TransferDates/PreviousAdvisoryBoard.cshtml.cs @@ -31,7 +31,7 @@ public async Task OnGetAsync() { AdvisoryBoardDate = new DateViewModel { - Date = DateViewModel.SplitDateIntoDayMonthYear(projectResult.Dates.Htb), + Date = DateViewModel.SplitDateIntoDayMonthYear(projectResult.Dates.PreviousAdvisoryBoardDate), UnknownDate = projectResult.Dates.HasHtbDate is false } }; diff --git a/Dfe.PrepareTransfers.Web/Pages/Projects/TransferDates/Reason.cshtml.cs b/Dfe.PrepareTransfers.Web/Pages/Projects/TransferDates/Reason.cshtml.cs index 68c9a1207..c8226a248 100644 --- a/Dfe.PrepareTransfers.Web/Pages/Projects/TransferDates/Reason.cshtml.cs +++ b/Dfe.PrepareTransfers.Web/Pages/Projects/TransferDates/Reason.cshtml.cs @@ -24,14 +24,14 @@ public class Reason : CommonPageModel private readonly Dictionary reasonMappings = new() { - { "faster-progress", "Project is progressing faster than expected" }, + { "project-is-progressing-faster-than-expected", "Project is progressing faster than expected" }, { "error-correction", "Correcting an error" }, { "incoming-trust", "Incoming trust" }, { "outgoing-trust", "Outgoing trust" }, { "school", "School" }, - { "local-authority", "LA (local authority)" }, + { "la-(local-authority)", "LA (local authority)" }, { "diocese", "Diocese" }, - { "tupe", "TuPE (Transfer of Undertakings Protection of Employment rights)" }, + { "tupe-(transfer-of-undertakings-protection-of-employment-rights)", "TuPE (Transfer of Undertakings Protection of Employment rights)" }, { "pensions", "Pensions" }, { "union", "Union" }, { "negative-press-coverage", "Negative press coverage" }, @@ -42,7 +42,7 @@ public class Reason : CommonPageModel { "buildings", "Buildings" }, { "legal-documents", "Legal documents" }, { "voluntary-deferral", "Voluntary deferral" }, - { "federation", "In a federation" } + { "in-a-federation", "In a federation" } }; public Reason(IProjects projectsRepository) @@ -88,7 +88,7 @@ public async Task OnPostAsync() private List GetReasonOptions(bool isDateSooner) { - var soonerReasons = new List { "faster-progress", "error-correction" }; + var soonerReasons = new List { "project-is-progressing-faster-than-expected", "error-correction" }; var laterReasons = reasonMappings.Keys.Except(soonerReasons).ToList(); return (isDateSooner ? soonerReasons : laterReasons)