Merge branch 'master' into feature-17512/Issues_Plausibilitaetspruefungen

This commit is contained in:
KarpAlex
2022-10-17 17:11:17 +02:00
48 changed files with 590 additions and 125 deletions
@@ -607,9 +607,10 @@ var approveAnrechnungDetail = {
{
return;
}
if(
(parseFloat($('#ects').text()) + parseFloat($('#sumEctsSchulisch').text())) > 60 ||
(parseFloat($('#ects').text()) + parseFloat($('#sumEctsBeruflich').text())) > 60 ||
if (
(begruendung_id != 4 && (parseFloat($('#ects').text()) + parseFloat($('#sumEctsSchulisch').text()))) > 60 ||
(begruendung_id == 4 && (parseFloat($('#ects').text()) + parseFloat($('#sumEctsBeruflich').text()))) > 60 ||
(parseFloat($('#ects').text()) + parseFloat($('#sumEctsSchulisch').text()) + parseFloat($('#sumEctsBeruflich').text())) > 90
)
{