mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-01 20:29:29 +00:00
Merge branch 'master' of https://github.com/FH-Complete/FHC-Core
This commit is contained in:
@@ -291,6 +291,9 @@ class dokument_export
|
||||
|
||||
if($download)
|
||||
{
|
||||
if(headers_sent())
|
||||
exit('Header wurden bereits gesendet -> Abbruch');
|
||||
|
||||
switch($this->outputformat)
|
||||
{
|
||||
case 'pdf':
|
||||
@@ -310,6 +313,8 @@ class dokument_export
|
||||
header('Content-Disposition: attachment; filename="'.$this->filename.'.odt"');
|
||||
header('Content-Length: '.$fsize);
|
||||
break;
|
||||
default:
|
||||
exit('Outputformat is not defined');
|
||||
}
|
||||
|
||||
while (!feof($handle))
|
||||
@@ -389,5 +394,11 @@ class dokument_export
|
||||
}
|
||||
return $_xml_data->asXML();
|
||||
}
|
||||
|
||||
public function getXML()
|
||||
{
|
||||
$this->xml_data->formatOutput=true;
|
||||
return $this->xml_data->saveXML();
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
@@ -1761,7 +1761,9 @@ class prestudent extends person
|
||||
|
||||
if($stg_obj->typ=='m')
|
||||
{
|
||||
$qry = "SELECT DISTINCT prestudent_id, vorname, nachname, gebdatum, rt_gesamtpunkte, tbl_prestudent.studiengang_kz, bis.tbl_zgvgruppe.bezeichnung, get_rolle_prestudent(prestudent_id, null) as laststatus
|
||||
$qry = "SELECT DISTINCT prestudent_id, vorname, nachname, gebdatum, rt_gesamtpunkte, tbl_prestudent.studiengang_kz, bis.tbl_zgvgruppe.bezeichnung, get_rolle_prestudent(prestudent_id, null) as laststatus,
|
||||
(Select anmerkung from public.tbl_prestudentstatus where prestudent_id=tbl_prestudent.prestudent_id AND studiensemester_kurzbz=". $this->db_add_param($studiensemester_kurzbz)."
|
||||
AND status_kurzbz='Bewerber') as anmerkung
|
||||
FROM
|
||||
public.tbl_prestudent
|
||||
JOIN public.tbl_person USING(person_id)
|
||||
@@ -1787,7 +1789,9 @@ class prestudent extends person
|
||||
}
|
||||
else
|
||||
{
|
||||
$qry = "SELECT DISTINCT prestudent_id, vorname, nachname, gebdatum, rt_gesamtpunkte, tbl_prestudent.studiengang_kz, bis.tbl_zgvgruppe.bezeichnung, get_rolle_prestudent(prestudent_id, null) as laststatus
|
||||
$qry = "SELECT DISTINCT prestudent_id, vorname, nachname, gebdatum, rt_gesamtpunkte, tbl_prestudent.studiengang_kz, bis.tbl_zgvgruppe.bezeichnung, get_rolle_prestudent(prestudent_id, null) as laststatus,
|
||||
(Select anmerkung from public.tbl_prestudentstatus where prestudent_id=tbl_prestudent.prestudent_id AND studiensemester_kurzbz=". $this->db_add_param($studiensemester_kurzbz)."
|
||||
AND status_kurzbz='Bewerber') as anmerkung
|
||||
FROM
|
||||
public.tbl_prestudent
|
||||
JOIN public.tbl_person USING(person_id)
|
||||
|
||||
@@ -403,6 +403,7 @@
|
||||
<th ts-criteria="seqPlace|parseInt" ts-default="ascending">Reihung</th>
|
||||
<th ts-criteria="rt_gesamtpunkte|parseFloat" ts-default="ascending">RT Gesamt</th>
|
||||
<th ts-criteria="interviewbogen">Interviewbogen</th>
|
||||
<th ts-criteria="anmerkung">Anmerkung/Prio</th>
|
||||
<th ts-criteria="laststatus">Status</th>
|
||||
<th ng-if="aqr.selectedStudienplatz.apz">{{aqr.choosenStuds}}/{{aqr.selectedStudienplatz.apz}}</th>
|
||||
<th ng-if="!aqr.selectedStudienplatz.apz">{{aqr.choosenStuds}}/Keine APZ</th>
|
||||
@@ -418,6 +419,7 @@
|
||||
<td>{{stud.seqPlace}}</td>
|
||||
<td>{{stud.rt_gesamtpunkte}}</td>
|
||||
<td>{{stud.interviewbogen?'vorhanden':'nicht vorhanden'}}</td>
|
||||
<td>{{stud.anmerkung}}</td>
|
||||
<td>{{stud.laststatus}}</td>
|
||||
<td>
|
||||
<input ng-if="stud.applicant" type="checkbox" ng-model="stud.selected"/>
|
||||
@@ -441,6 +443,7 @@
|
||||
<th ts-criteria="seqPlace|parseInt" ts-default="ascending">Reihung</th>
|
||||
<th ts-criteria="rt_gesamtpunkte|parseFloat">RT Gesamt</th>
|
||||
<th ts-criteria="interviewbogen">Interviewbogen</th>
|
||||
<th ts-criteria="anmerkung">Anmerkung/Prio</th>
|
||||
<th ts-criteria="laststatus">Status</th>
|
||||
<th></th>
|
||||
</tr>
|
||||
@@ -455,6 +458,7 @@
|
||||
<td>{{stud.seqPlace}}</td>
|
||||
<td>{{stud.rt_gesamtpunkte}}</td>
|
||||
<td>{{stud.interviewbogen?'vorhanden':'nicht vorhanden'}}</td>
|
||||
<td>{{stud.anmerkung}}</td>
|
||||
<td>{{stud.laststatus}}</td>
|
||||
<td>
|
||||
<input ng-if="stud.applicant" type="checkbox" ng-model="stud.selected"/>
|
||||
|
||||
Reference in New Issue
Block a user