mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-04 04:19:28 +00:00
some comments added to the aliquote reduction
This commit is contained in:
@@ -276,6 +276,7 @@
|
||||
{
|
||||
var beginNeeded = needed;
|
||||
|
||||
//distribute the remainig applicants to the present ZGVs
|
||||
for(var i=0; i < zgvElems.length; i++)
|
||||
{
|
||||
for(var j in aqr.studenten)
|
||||
@@ -296,8 +297,10 @@
|
||||
}
|
||||
}
|
||||
|
||||
//if we are finished or the ZGVs are full
|
||||
if(needed < 1 || beginNeeded == needed)
|
||||
{
|
||||
//distribute the rest of the applicants, WITH a ZGV group
|
||||
for(var j in aqr.studenten)
|
||||
{
|
||||
if(!aqr.studenten[j].selected && aqr.studenten[j].bezeichnung)
|
||||
@@ -310,6 +313,7 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
//distribute the rest of the applicants, WITHOUT a ZGV group
|
||||
for(var j in aqr.studenten)
|
||||
{
|
||||
if(!aqr.studenten[j].selected && !aqr.studenten[j].bezeichnung)
|
||||
@@ -323,7 +327,7 @@
|
||||
}
|
||||
}
|
||||
if(needed > 0)
|
||||
alert("Es werden mehr Studenten benötigt, als es Bewerber gibt!");
|
||||
alert("Es werden mehr Bewerber benötigt, als gibt!");
|
||||
return;
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user