mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-20 16:32:20 +00:00
- BIS Check angepasst damit nicht BISrelevante Personen in den Checks
nicht aufscheinen - Studentencheck angepasst worduch falsche Fehlermeldungen angezeigt wurden
This commit is contained in:
@@ -609,7 +609,7 @@ $text .= "<br><br>Studierender hat keine Matrikelnummer<br><br>";
|
||||
|
||||
$qry = "
|
||||
SELECT
|
||||
distinct on (person_id)
|
||||
distinct on (tbl_person.person_id)
|
||||
tbl_student.student_uid,
|
||||
tbl_prestudent.prestudent_id,
|
||||
tbl_prestudent.studiengang_kz as studiengang
|
||||
@@ -618,7 +618,7 @@ FROM
|
||||
JOIN public.tbl_prestudentstatus USING(prestudent_id)
|
||||
JOIN public.tbl_person USING(person_id)
|
||||
JOIN public.tbl_student USING(prestudent_id)
|
||||
JOIN public.tbl_benutzer USING(person_id)
|
||||
JOIN public.tbl_benutzer ON(tbl_student.student_uid=tbl_benutzer.uid)
|
||||
WHERE
|
||||
status_kurzbz in('Student', 'Diplomand', 'Absolvent', 'Abbrecher')
|
||||
AND tbl_prestudent.bismelden
|
||||
|
||||
@@ -241,6 +241,7 @@ $qryall='
|
||||
JOIN bis.tbl_bisverwendung ON (uid=mitarbeiter_uid)
|
||||
WHERE
|
||||
aktiv=false
|
||||
and bismelden=true
|
||||
AND (ende>now() OR ende IS NULL)
|
||||
GROUP BY uid, nachname, vorname
|
||||
ORDER by nachname, vorname;';
|
||||
|
||||
Reference in New Issue
Block a user