From d8b8dd9b0b9e8b7ecc6f47c7c874e8d2e242bc0b Mon Sep 17 00:00:00 2001 From: Daniel Clarke Date: Thu, 21 Nov 2024 14:57:16 +0000 Subject: [PATCH] fixed bug within the full and relevant logic --- .../Models/Content/RatioRequirementModel.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/Dfe.EarlyYearsQualification.Web/Models/Content/RatioRequirementModel.cs b/src/Dfe.EarlyYearsQualification.Web/Models/Content/RatioRequirementModel.cs index 921141e5..047470a9 100644 --- a/src/Dfe.EarlyYearsQualification.Web/Models/Content/RatioRequirementModel.cs +++ b/src/Dfe.EarlyYearsQualification.Web/Models/Content/RatioRequirementModel.cs @@ -11,10 +11,9 @@ public class RatioRequirementModel public QualificationApprovalStatus ApprovedForUnqualified { get; set; } public bool IsNotFullAndRelevant => - // get { return ApprovedForUnqualified && !ApprovedForLevel2 & !ApprovedForLevel3 && !ApprovedForLevel6; } ApprovedForLevel2 != QualificationApprovalStatus.Approved - || ApprovedForLevel3 != QualificationApprovalStatus.Approved - || ApprovedForLevel6 != QualificationApprovalStatus.Approved; + && ApprovedForLevel3 != QualificationApprovalStatus.Approved + && ApprovedForLevel6 != QualificationApprovalStatus.Approved; public string RequirementsHeadingForLevel2 { get; set; } = string.Empty;