E-Mail Reminder für Wiederholer sollen an die FH Adresse des Studierenden geschickt werden

This commit is contained in:
cgfhtw
2023-07-10 14:27:50 +02:00
parent 15786dd772
commit 25258f7d87
3 changed files with 64 additions and 65 deletions
+10
View File
@@ -82,4 +82,14 @@ class Student_model extends DB_Model
return $result;
}
/**
* Get the FH-Email for a student (not the private kontakt emailt)
* @param $student_uid
* @return string
*/
public function getEmailFH($student_uid)
{
return $student_uid . '@' . DOMAIN;
}
}
@@ -98,7 +98,7 @@ class Studierendenantrag_model extends DB_Model
);
if ($types && is_array($types)) {
$this->db->where_in('typ' => $types);
$this->db->where_in('typ', $types);
}
$this->addOrder('datum', 'DESC');