Skip to content

Commit

Permalink
Fix determining when queue enrollment is partially free [deploy]
Browse files Browse the repository at this point in the history
  • Loading branch information
lket committed Nov 11, 2024
1 parent 204f3ac commit b642655
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,8 @@ public PublicEnrollmentDTO createEnrollmentToQueue(
);

if (freeEnrollmentDetails != null && freeEnrollment != null) {
if (freeEnrollmentDetails.textualSkillCount() == 0 || freeEnrollmentDetails.oralSkillCount() == 0) {
if (EnrollmentUtil.getFreeExamsLeft(freeEnrollmentDetails.textualSkillCount()) == 0
|| EnrollmentUtil.getFreeExamsLeft(freeEnrollmentDetails.oralSkillCount()) == 0) {
publicEnrollmentEmailService.sendPartiallyFreeEnrollmentToQueueConfirmationEmail(
enrollment,
person,
Expand Down

0 comments on commit b642655

Please sign in to comment.