Skip to content

Commit

Permalink
fix for validation that is not required on conversion details page
Browse files Browse the repository at this point in the history
  • Loading branch information
paullocknimble committed Sep 26, 2024
1 parent 3ac88ac commit ba08223
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,6 @@ public override async Task<IActionResult> OnPostAsync(int id)

bool schoolAndTrustInformationSectionComplete = AcademyConversionProject.SchoolAndTrustInformationSectionComplete != null &&
AcademyConversionProject.SchoolAndTrustInformationSectionComplete.Value;
if (schoolAndTrustInformationSectionComplete && !Project.HeadTeacherBoardDate.HasValue)
{
_errorService.AddError(
$"/task-list/{id}/confirm-school-trust-information-project-dates/advisory-board-date?return=%2FTaskList%2FSchoolAndTrustInformation/ConfirmSchoolAndTrustInformation&fragment=advisory-board-date",
"Set an Advisory board date before you generate your project template");
}

if (AcademyConversionProject.LocalAuthorityInformationTemplateSentDate.HasValue &&
AcademyConversionProject.LocalAuthorityInformationTemplateReturnedDate.HasValue &&
Expand Down

0 comments on commit ba08223

Please sign in to comment.