Skip to content

Commit

Permalink
Merge pull request #499 from bcgov/develop/alex-GRAD2-2392
Browse files Browse the repository at this point in the history
GRAD2-2392
  • Loading branch information
arybakov-cgi authored Nov 21, 2023
2 parents c22bcf3 + d7fa85e commit 72bcadb
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@
import java.util.*;
import java.util.stream.Collectors;

import static java.util.stream.Collectors.*;

@Slf4j
@Service
public class ReportService {
Expand Down Expand Up @@ -574,7 +572,7 @@ private void sortOnCourseCode(List<StudentCourse> cList) {
}

private String getCredits(String program, String courseCode, Integer totalCredits, boolean isRestricted) {
if (((program.contains("2004") || program.contains("2018")) && (courseCode.startsWith("X") || courseCode.startsWith("CP"))) || isRestricted) {
if (((program.contains("2004") || program.contains("2018") || program.contains("2023")) && (courseCode.startsWith("X") || courseCode.startsWith("CP"))) || isRestricted) {
return String.format("(%s)", totalCredits);
}
return String.valueOf(totalCredits);
Expand Down

0 comments on commit 72bcadb

Please sign in to comment.