Skip to content
Snippets Groups Projects
Commit 6b5407ee authored by srosse's avatar srosse
Browse files

OO-5101: set effective number of lectures in default save of roll call

parent f6a15a4b
No related branches found
No related tags found
No related merge requests found
...@@ -1160,6 +1160,7 @@ public class LectureServiceImpl implements LectureService, UserDataDeletable, De ...@@ -1160,6 +1160,7 @@ public class LectureServiceImpl implements LectureService, UserDataDeletable, De
lectureBlock = getLectureBlock(lectureBlock); lectureBlock = getLectureBlock(lectureBlock);
if(closeLectures) { if(closeLectures) {
lectureBlock.setEffectiveLecturesNumber(lectureBlock.getPlannedLecturesNumber());
lectureBlock.setStatus(LectureBlockStatus.done); lectureBlock.setStatus(LectureBlockStatus.done);
lectureBlock.setRollCallStatus(LectureRollCallStatus.closed); lectureBlock.setRollCallStatus(LectureRollCallStatus.closed);
} else { } else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment