From a789c55fe0936f17d8124639dde87ad9b2ef9545 Mon Sep 17 00:00:00 2001 From: arybakov Date: Fri, 17 Nov 2023 12:23:06 -0700 Subject: [PATCH] GRAD2-2392 HD-23020-P3 - GRAD - Service Request - Locally Developed Courses on 2023 Transcripts Missing Parenthesis --- .../bc/gov/educ/api/dataconversion/process/ReportProcess.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/main/java/ca/bc/gov/educ/api/dataconversion/process/ReportProcess.java b/api/src/main/java/ca/bc/gov/educ/api/dataconversion/process/ReportProcess.java index d5f6d156..38be4ab3 100644 --- a/api/src/main/java/ca/bc/gov/educ/api/dataconversion/process/ReportProcess.java +++ b/api/src/main/java/ca/bc/gov/educ/api/dataconversion/process/ReportProcess.java @@ -230,7 +230,7 @@ private void sortOnCourseCode(List 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);