mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-26 09:04:28 +00:00
zeige keine Prüfungstermine wo positive Note vorhanden ist
This commit is contained in:
@@ -616,12 +616,19 @@ class pruefungCis extends basis_db
|
|||||||
|
|
||||||
if ($uid !== null)
|
if ($uid !== null)
|
||||||
{
|
{
|
||||||
// LVs entfernen wo schon eine Note für UID vorhanden ist
|
// LVs entfernen wo schon eine positive Note für UID vorhanden ist
|
||||||
$qry .= " AND lehrveranstaltung_id NOT IN (
|
$qry .= " AND lehrveranstaltung_id NOT IN (
|
||||||
SELECT lehrveranstaltung_id
|
SELECT lehrveranstaltung_id
|
||||||
FROM lehre.tbl_pruefung
|
FROM lehre.tbl_pruefung
|
||||||
JOIN lehre.tbl_lehreinheit USING(lehreinheit_id)
|
JOIN lehre.tbl_lehreinheit USING(lehreinheit_id)
|
||||||
WHERE student_uid = " . $this->db_add_param($uid) . ");";
|
WHERE student_uid = " . $this->db_add_param($uid) . "
|
||||||
|
AND note NOT IN (5, 7, 9, 11, 13, 14)
|
||||||
|
UNION
|
||||||
|
SELECT lehrveranstaltung_id
|
||||||
|
FROM lehre.tbl_zeugnisnote
|
||||||
|
WHERE student_uid = " . $this->db_add_param($uid) . "
|
||||||
|
AND note NOT IN (5, 7, 9, 11, 13, 14)
|
||||||
|
);";
|
||||||
}
|
}
|
||||||
|
|
||||||
if($this->db_query($qry))
|
if($this->db_query($qry))
|
||||||
|
|||||||
Reference in New Issue
Block a user