Skip to content

Commit

Permalink
Grad release 1.12.0
Browse files Browse the repository at this point in the history
Grad release 1.12.0
  • Loading branch information
kamal-mohammed authored Jan 15, 2024
2 parents 47edf5b + c349c74 commit 8ef9501
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</parent>
<groupId>ca.bc.gov.educ</groupId>
<artifactId>educ-grad-rule-engine-api</artifactId>
<version>1.8.53</version>
<version>1.8.54</version>
<name>educ-grad-rule-engine-api</name>
<description>Rule Engine API for GRAD team</description>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ private int processOthers(StudentCourse sc, int requiredCredits, int totalCredit
}
private int processLeftOverCredits(StudentCourse sc, int requiredCredits, int totalCredits, ProgramRequirement gradProgramRule) {
if((sc.isUsedInMatchRule() && sc.getLeftOverCredits() != null && sc.getLeftOverCredits() != 0)
&& (!gradProgramRule.getGraduationProgramCode().contains("2023") && !hasMatchTypeRule(sc.getGradReqMet()))) {
&& (gradProgramRule.getGraduationProgramCode().contains("2023") && hasMatchTypeRule(sc.getGradReqMet()))) {
if (totalCredits + sc.getLeftOverCredits() <= requiredCredits) {
totalCredits += sc.getLeftOverCredits();
sc.setCreditsUsedForGrad(sc.getCreditsUsedForGrad() + sc.getLeftOverCredits());
Expand Down

0 comments on commit 8ef9501

Please sign in to comment.