diff --git a/cis/private/tools/zeitaufzeichnung_projektliste.php b/cis/private/tools/zeitaufzeichnung_projektliste.php
index 32c45c06a..69e803655 100644
--- a/cis/private/tools/zeitaufzeichnung_projektliste.php
+++ b/cis/private/tools/zeitaufzeichnung_projektliste.php
@@ -384,17 +384,6 @@ for ($i = 0; $i < count($ztaufdata); $i++)
}
}
- //worktime with no break greater 6 -> compulsory break of half an hour
- if ($pauseSubtracted < 0.5 && !$lehreExternExists)
- {
- if ($projektlines[$day]->arbeitszeit >= 6.5)
- $projektlines[$day]->arbeitszeit -= 0.5;
-
- //ensure that no worktime gets smaller than 6 hours because of compulsory break
- elseif ($projektlines[$day]->arbeitszeit > 6)
- $projektlines[$day]->arbeitszeit -= $projektlines[$day]->arbeitszeit - 6;
- }
-
$projektlines[$day]->arbeitszeit = round($projektlines[$day]->arbeitszeit, 2);
//calculate sums
diff --git a/rdf/zeugnis.rdf.php b/rdf/zeugnis.rdf.php
index 2021c8335..c468301d5 100644
--- a/rdf/zeugnis.rdf.php
+++ b/rdf/zeugnis.rdf.php
@@ -35,6 +35,7 @@ require_once('../include/studiengang.class.php');
require_once('../include/mitarbeiter.class.php');
require_once('../include/anrechnung.class.php');
require_once('../include/prestudent.class.php');
+require_once('../include/nation.class.php');
$datum = new datum();
$db = new basis_db();
@@ -107,7 +108,7 @@ if (isset($_REQUEST["xmlformat"]) && $_REQUEST["xmlformat"] == "xml")
tbl_studiengang.bezeichnung, tbl_studiengang.english, tbl_studentlehrverband.semester,
tbl_person.vorname, tbl_person.vornamen, tbl_person.nachname,tbl_person.gebdatum,tbl_person.titelpre,
tbl_person.titelpost, tbl_person.anrede, tbl_studiensemester.bezeichnung as sembezeichnung,
- tbl_studiensemester.studiensemester_kurzbz as stsem, tbl_student.prestudent_id, tbl_studiengang.max_semester
+ tbl_studiensemester.studiensemester_kurzbz as stsem, tbl_student.prestudent_id, tbl_studiengang.max_semester, tbl_person.gebort, tbl_person.geburtsnation, tbl_person.geschlecht
FROM tbl_person, tbl_student, tbl_studiengang, tbl_benutzer, tbl_studentlehrverband, tbl_studiensemester
WHERE tbl_student.studiengang_kz = tbl_studiengang.studiengang_kz
AND tbl_student.student_uid = tbl_benutzer.uid AND tbl_benutzer.person_id = tbl_person.person_id
@@ -187,6 +188,10 @@ if (isset($_REQUEST["xmlformat"]) && $_REQUEST["xmlformat"] == "xml")
else
$studiengang_kz = sprintf("%04s", abs($row->studiengang_kz));
+
+ $nation = new nation($row->geburtsnation);
+ $geburtsnation = $nation->kurztext;
+
$xml .= " ";
$xml .= " ";
$xml .= "\n anrede."]]>";
@@ -195,6 +200,9 @@ if (isset($_REQUEST["xmlformat"]) && $_REQUEST["xmlformat"] == "xml")
$xml .= " titelpre.' '.trim($row->vorname.' '.$row->vornamen).' '.$row->nachname.($row->titelpost!=''?', '.$row->titelpost:''))."]]>";
$gebdatum = date('d.m.Y',strtotime($row->gebdatum));
$xml .= " ";
+ $xml .= " gebort."]]>";
+ $xml .= " ";
+ $xml .= " geschlecht."]]>";
$xml .= " matrikelnr)."]]>";
$xml .= " ";
$datum_aktuell = date('d.m.Y');
@@ -267,6 +275,15 @@ if (isset($_REQUEST["xmlformat"]) && $_REQUEST["xmlformat"] == "xml")
if ($lastPrestudentStatus)
$showAllNoten = $prestudent->status_kurzbz === 'Incoming';
+ $lastBenotungsdatum = '';
+
+ $dates = array_column($obj->result, 'benotungsdatum');
+ if (!empty($dates))
+ {
+ $lastBenotungsdatum = max($dates);
+ $xml .= "";
+ }
+
foreach ($obj->result as $row)
{
if($showAllNoten || $row->zeugnis)
@@ -390,12 +407,15 @@ if (isset($_REQUEST["xmlformat"]) && $_REQUEST["xmlformat"] == "xml")
}
}
$xml .= "\n ";
+ $xml .= " benotungsdatum))."]]>";
$xml .= " ";
$xml .= " ";
$xml .= " note_positiv."]]>";
$xml .= " ";
$xml .= " semesterstunden==0?'':number_format(sprintf('%.1F',$row->semesterstunden/$wochen),1))."]]>";
$xml .= " sws==0?'':number_format(sprintf('%.1F',$row->sws),1))."]]>";
+ $xml .= " lehrveranstaltung_id."]]>";
+
$ectspunkte='';
$anrechnung = new anrechnung();