Commit Graph

9 Commits

Author SHA1 Message Date
cris-technikum bd90876277 Fixed: Now sending mails to ALL STGLs of the concerning STG
Before it was sending only to first in array. Now sending to all.

Signed-off-by: cris-technikum <hainberg@technikum-wien.at>
2021-09-23 12:34:58 +02:00
Andreas Österreicher 2159e81888 Bugfix Anrechnung Rejected Mails 2021-09-09 08:34:36 +02:00
cris-technikum 46edad620a Fixed: to NOT send Ablehnungsmail to students multiple times
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>
2021-06-21 15:50:27 +02:00
Cris d016e26e70 Added new AnrechnungJob deleteAnrechnungGrades
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>
2021-05-17 12:30:56 +02:00
Cris 3a9704563f Adapted JOB sendMailToSTGL to send mail only if Anrechnung not already processed
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>
2021-04-22 15:52:46 +02:00
Cris 3d574c30b7 Adapted job sendMailtoSTGL: interval '24 hours' instead of '1 day'
Signed-off-by: cris-technikum <hainberg@technikum-wien.at>
2021-04-14 11:07:20 +02:00
Cris 7317623fbf Added jobs to send mails to students once per day (info approved/rejected)
. 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>
2021-04-13 16:09:11 +02:00
Cris 7340564d1e Added job to send mail to STGL with yesterdays new Anrechnungen
. added AnrechnungJob sendMailToSTGL()
. removed functions to send mail from CTRL

Signed-off-by: cris-technikum <hainberg@technikum-wien.at>
2021-03-16 17:42:46 +01:00
Andreas Österreicher bff6307a62 Anrechnungen
- Neuer Job zum Setzen der Anrechnungsnote hinzugefügt
- Direktes setzen der Zeugnisnote bei Anrechnung entfernt
2021-02-12 15:52:26 +01:00