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>
This commit is contained in:
Cris
2021-03-16 17:42:46 +01:00
committed by cris-technikum
parent 5da754c9db
commit 7340564d1e
3 changed files with 145 additions and 92 deletions
@@ -475,7 +475,7 @@ class Studiengang_model extends DB_Model
funktion_kurzbz = \'Leitung\'
AND ( datum_von <= NOW() OR datum_von IS NULL )
AND ( datum_bis >= NOW() OR datum_bis IS NULL )
AND studiengang_kz = ' . $this->db->escape($studiengang_kz, FHC_INTEGER)
AND studiengang_kz = ' . $this->db->escape($studiengang_kz)
;
}