Skip to content

Commit

Permalink
GRAD2-2454: task is complete.
Browse files Browse the repository at this point in the history
GRAD2-2454: task is complete.
  • Loading branch information
infstar committed Jan 10, 2024
1 parent d2fd2f5 commit de76be8
Showing 1 changed file with 1 addition and 1 deletion.
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 de76be8

Please sign in to comment.