You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thrownewInvalidPluginExecutionException("Intake for the Application Score Calculator is in progress and Application Score Parameters cannot be modified");
thrownewInvalidPluginExecutionException("Intake for the Application Score Calculator is in progress and Application Score Parameters cannot be modified");
64
+
65
+
}
66
+
}
67
+
}
68
+
69
+
70
+
43
71
// Extract ofm_key and ofm_comparisonoperator values
publicbool?LetterOfSupportExists=>_data.GetPropertyValue<JsonArray>("ofm_document_application")?.AsArray()?.Where(x =>x.AsObject().GetPropertyValue<string>("ofm_category")=="Community Support Letter")?.Any();
publicbool?LetterOfSupportExists=>_data.GetPropertyValue<JsonObject>("parentaccountid")?.GetPropertyValue<JsonArray>("ofm_document_account")?.AsArray()?.Where(x =>x.AsObject().GetPropertyValue<string>("ofm_category")=="Community Support Letter")?.Any();
Copy file name to clipboardExpand all lines: OFM.Infrastructure.WebAPI/Services/Processes/ApplicationScore/ScoreStrategy.cs
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -147,10 +147,10 @@ public Task<bool> EvaluateAsync(IComparisonHandler comparisonHandler, ScoreParam
147
147
if(string.IsNullOrEmpty(facilityData.OrganizationBoardMembersBCResidents))thrownewArgumentException("BoardMembersBCResidents is not set to Yes/No on the Organization");
148
148
if(string.IsNullOrEmpty(facilityData.OrganizationBoardMembersMembership))thrownewArgumentException("BoardMembersEntireMembership is not set to Yes/No on the Organization");
149
149
if(string.IsNullOrEmpty(facilityData.OrganizationBoardMembersUnpaid))thrownewArgumentException("BoardMembersElectedUnpaid is not set to Yes/No on the Organization");
150
-
if(facilityData.OrganizationDateOfIncorporation>DateTime.Now.AddYears(-4)&&(application.LetterOfSupportExists==null||application.LetterOfSupportExists==false))thrownewArgumentException("No Community Support letter provided as Date of Incorporation is not older than 4 years");
150
+
if(facilityData.OrganizationDateOfIncorporation>DateTime.Now.AddYears(-4)&&(facilityData.LetterOfSupportExists==null||facilityData.LetterOfSupportExists==false))thrownewArgumentException("No Community Support letter provided as Date of Incorporation is not older than 4 years");
0 commit comments