Skip to content

Commit

Permalink
Fixed issue where attendance audit number would incorrectly be added
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben-Edwards-cgi committed Aug 27, 2024
1 parent 4e70a45 commit 3d2745f
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -266,9 +266,10 @@ public void returnJury(BureauJwtPayload payload, String trialNumber, String loca
if (appearance.getTimeOut() == null && StringUtils.isNotEmpty(returnJuryDto.getCheckOut())) {
appearance.setAppearanceStage(AppearanceStage.EXPENSE_ENTERED);
appearance.setTimeOut(LocalTime.parse(returnJuryDto.getCheckOut()));
//Only give them an attendance number if they were checked out via this process
appearance.setAttendanceAuditNumber("J" + attendanceAuditNumber);
log.debug("setting time out for juror %s".formatted(jurorNumber));
}
appearance.setAttendanceAuditNumber("J" + attendanceAuditNumber);
appearance.setTrialNumber(trialNumber);
appearance.setSatOnJury(true);
jurorAppearanceService.realignAttendanceType(appearance);
Expand Down

0 comments on commit 3d2745f

Please sign in to comment.