This commit is contained in:
Lars Westermann 2019-06-13 05:27:22 +02:00
parent f02124cbe8
commit e8f816e7ec
Signed by: lars.westermann
GPG key ID: 9D417FA5BB9D5E1D

View file

@ -69,6 +69,10 @@ fun checkConstraints(
}
}
if (schedule.workGroup.interested > schedule.room.places) {
errors += ConstraintError("The work group has more interested then the room has places")
}
for (leader in schedule.workGroup.leader) {
for (s in against) {
if (