Zusätzliche Spalte für Semester-ECTS hinzugefügt

This commit is contained in:
Karl Burkhart
2013-11-05 13:37:48 +00:00
parent 5bc66a2864
commit cfd45ac695
2 changed files with 8 additions and 1 deletions
+4 -1
View File
@@ -482,6 +482,7 @@ if (isset($_REQUEST["xmlformat"]) && $_REQUEST["xmlformat"] == "xml")
echo "<studiensemester>";
for($start = $semesterNumberStart; $start <= $semesterNumberEnd; $start++)
{
$semester_ects = 0;
//$thesis_beschreibung = '';
echo "<semesters>";
@@ -567,6 +568,7 @@ if (isset($_REQUEST["xmlformat"]) && $_REQUEST["xmlformat"] == "xml")
$arrayLvAusbildungssemester[$row_stud->lehrveranstaltung_id]['note'] = $row_stud->anmerkung;
$arrayLvAusbildungssemester[$row_stud->lehrveranstaltung_id]['sort'] = $row_stud->sort;
$ects_total += $row_stud->ects;
$semester_ects +=$row_stud->ects;
}
else
{
@@ -857,11 +859,12 @@ if (isset($_REQUEST["xmlformat"]) && $_REQUEST["xmlformat"] == "xml")
<note>'.$note_outgoing.'</note>
<lv_id></lv_id>
</lv>';
$ects_total +=$row_outgoing->ects;
}
}
}
echo '<ects_gesamt>'.$semester_ects.'</ects_gesamt>';
echo "</semesters>";
}
echo "</studiensemester>";
+4
View File
@@ -227,6 +227,7 @@ if (isset($_REQUEST["xmlformat"]) && $_REQUEST["xmlformat"] == "xml")
$obj->getZeugnisnoten($lehrveranstaltung_id=null, $uid_arr[$i], $studiensemester_kurzbz);
$ects_gesamt = 0;
foreach ($obj->result as $row)
{
if($row->zeugnis)
@@ -364,6 +365,8 @@ if (isset($_REQUEST["xmlformat"]) && $_REQUEST["xmlformat"] == "xml")
else
$ectspunkte=number_format($row->ects,2);
}
$ects_gesamt+=$ectspunkte;
$xml .= " <ects>".$ectspunkte."</ects>";
$xml .= " <lv_lehrform_kurzbz>".$row->lv_lehrform_kurzbz."</lv_lehrform_kurzbz>";
if($auslandssemester)
@@ -376,6 +379,7 @@ if (isset($_REQUEST["xmlformat"]) && $_REQUEST["xmlformat"] == "xml")
$xml .= " </unterrichtsfach>";
}
}
$xml .= "<ects_gesamt>".$ects_gesamt."</ects_gesamt>";
$xml .= $xml_fussnote;
$xml .= " </zeugnis>";
}