If STGL was rejecting - withdrawing multiple times and entering different
reasons (notizen), the Ablehnungsmail was sent for each of that reasons.
Now the mail is sent only once for most recent reason.
Signed-off-by: cris-technikum <hainberg@technikum-wien.at>
This job deletes Zeugnisnoten 'angerechnet', when Anrechnung is rejected
afterwards. E.g., when STGL first accepts, then withdraws and finally
rejects the approvement.
Signed-off-by: cris-technikum <hainberg@technikum-wien.at>
Job gets all yesterdays Anrechnungen, that did not process further than
first status. (If Anrechnung is new, but STGL already
started the process yesterday, he does not need to be informed about
this new Anrechnung anymore)
Signed-off-by: cris-technikum <hainberg@technikum-wien.at>
. The jobs will send mails to students, whose Anrechnungen were
approved/rejected the last day.
. Removed former sendMailToStudent functions from Controllers.
Signed-off-by: cris-technikum <hainberg@technikum-wien.at>