"inofficial" grades like "entschuldigt", "unentschuldigt" are now not shown on official documents (Studienerfolgsbestätigung, Zeugnis, Diplomasupplement, Lehrveranstaltungszeugnis, Zertifikat)

This commit is contained in:
alex
2017-12-05 10:07:19 +01:00
parent 3f144dd290
commit 7344ec63ce
8 changed files with 77 additions and 27 deletions
+2 -2
View File
@@ -77,7 +77,7 @@ if (isset($_REQUEST["xmlformat"]) && $_REQUEST["xmlformat"] == "xml")
$note_arr = array();
$note = new note();
$note->getAll();
$note->getAll($offiziell = true);
foreach ($note->result as $n){
$note_arr[$n->note] = $n->anmerkung;
$note_bezeichnung_arr[$n->note] = $n->bezeichnung;
@@ -236,7 +236,7 @@ if (isset($_REQUEST["xmlformat"]) && $_REQUEST["xmlformat"] == "xml")
$obj = new zeugnisnote();
$obj->load($lehrveranstaltung_id, $uid_arr[$i], $studiensemester_kurzbz);
if ($obj->note)
if ($obj->note && isset($note_arr[$obj->note]))
{
$note = $note_arr[$obj->note];
$note_bezeichnung = $note_bezeichnung_arr[$obj->note];