Skip to content

Commit

Permalink
GRAD2-2425: task is complete.
Browse files Browse the repository at this point in the history
GRAD2-2425: task is complete.
  • Loading branch information
infstar committed Jan 18, 2024
1 parent c0bee51 commit 9031456
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -164,15 +164,11 @@ private void handleProgramChange(String newGradProgram, StudentGradDTO currentSt
// from SCCP to PF
addDualDogwood = true;
} else if (newGradProgram.endsWith("-EN")) {
// from PF to EN - not allowed
if (currentStudent.getProgram().endsWith("-PF")) {
currentStudent.setNewProgram(null);
return;
}
// from PF to EN - allowed for SD93/Yukon PF schools
// from EN to EN
// from 1950 to EN
// from SCCP to EN
if (studentProcess.hasAnyFrenchImmersionCourse(newGradProgram, pen, accessToken)) {
if (currentStudent.getProgram().endsWith("-PF") || studentProcess.hasAnyFrenchImmersionCourse(newGradProgram, pen, accessToken)) {
addFrenchImmersion = true;
}
}
Expand Down

0 comments on commit 9031456

Please sign in to comment.