project = await _innerRepository.CreateProject(sponsoredProject);
+ return project;
}
public async Task CreateFormAMatProject(CreateNewFormAMatProject sponsoredProject)
{
From 1d2fa1fecddb4165fccfe41b87eb10e6a7b85994 Mon Sep 17 00:00:00 2001
From: Elijah Aremu <45821029+elielijah321@users.noreply.github.com>
Date: Thu, 28 Mar 2024 10:15:39 +0000
Subject: [PATCH 3/5] fix summary page
---
.../Pages/NewProject/Summary.cshtml | 136 +++++++++---------
.../Pages/NewProject/Summary.cshtml.cs | 10 +-
2 files changed, 78 insertions(+), 68 deletions(-)
diff --git a/Dfe.PrepareConversions/Dfe.PrepareConversions/Pages/NewProject/Summary.cshtml b/Dfe.PrepareConversions/Dfe.PrepareConversions/Pages/NewProject/Summary.cshtml
index 45c0e2c44..33f055d1a 100644
--- a/Dfe.PrepareConversions/Dfe.PrepareConversions/Pages/NewProject/Summary.cshtml
+++ b/Dfe.PrepareConversions/Dfe.PrepareConversions/Pages/NewProject/Summary.cshtml
@@ -163,34 +163,33 @@
ChangeTrust name
-
- @* Is this conversion part of a FAM? *@
-
-
- Is this conversion part of the formation of a new trust?
-
-
- @Model.IsFormAMat.ToSentenceCase()
-
-
-
-
-
-
- @* Is the project already in prepare? *@
-
-
- Is the form a MAT/SAT project already in Prepare?
-
-
- @Model.IsProjectInPrepare.ToSentenceCase()
-
-
-
-
-
-
+ @* Is this conversion part of a FAM? *@
+
+
+ Is this conversion part of the formation of a new trust?
+
+
+ @Model.IsFormAMat.ToSentenceCase()
+
+
+
+
+
+
+ @* Is the project already in prepare? *@
+
+
+ Is the form a MAT/SAT project already in Prepare?
+
+
+ @Model.IsProjectInPrepare.ToSentenceCase()
+
+
+
+
+
+
@if (Model.HasSchoolApplied.ToLower().Equals("no") && Model.IsFormAMat.ToLower().Equals("no"))
{
@@ -204,9 +203,10 @@
}
+
+
-
- @if (Model.ProposedTrustName != null)
+ @if (Model.Trust != null)
{
@@ -224,28 +224,42 @@
Name
- @Model.ProposedTrustName
+ @Model.Trust.Name
+
+ ChangeTrust name
+
+
+
+
+
+
+ UKPRN
+
+
+ @Model.Trust.Ukprn
+
+
+
+
+
+
+ Companies House Number
+
+
+ @Model.Trust.CompaniesHouseNumber
+
- @if (Model.ApplicationReference != null)
- {
-
-
- Application Reference
-
-
- @Model.ApplicationReference
-
-
-
-
- }
+
+
}
- @if (Model.Trust != null)
+
+ @if (Model.ApplicationReference != null)
{
-
-
-
- UKPRN
-
- @Model.Trust.Ukprn
+ @Model.ProposedTrustName
- Companies House Number
+ A2B Reference
-
- @Model.Trust.CompaniesHouseNumber
+
+ @Model.ApplicationReference
+
+
+
+ ChangeA2B reference
+
-
@@ -298,6 +302,10 @@
}
+
+
+
+
-