mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-01 20:29:29 +00:00
This commit is contained in:
@@ -99,6 +99,8 @@ echo '<?xml-stylesheet href="datepicker/datepicker.css" type="text/css"?>';
|
||||
<command id="menu-bis-mitarbeiter-export:command" oncommand="BISMitarbeiterExport();"/>
|
||||
<command id="menu-bis-mitarbeiter-checkverwendung:command" oncommand="BISMitarbeiterCheckVerwendung();"/>
|
||||
<command id="menu-bis-mitarbeiter-checkfunktion:command" oncommand="BISMitarbeiterCheckFunktion();"/>
|
||||
<command id="menu-bis-studenten-plausibilitaetspruefung:command" oncommand="BISStudentenPlausicheck();"/>
|
||||
<command id="menu-bis-studenten-export:command" oncommand="BISStudentenExport();"/>
|
||||
<command id="menu-help-close:command" oncommand="OpenAboutDialog()"/>
|
||||
</commandset>
|
||||
|
||||
@@ -372,6 +374,22 @@ echo '<?xml-stylesheet href="datepicker/datepicker.css" type="text/css"?>';
|
||||
accesskey = "&menu-bis-mitarbeiter-import.accesskey;"/>
|
||||
</menupopup>
|
||||
</menu>
|
||||
<menu id="menu-bis-studenten" label="&menu-bis-studenten.label;" accesskey="&menu-bis-studenten.accesskey;">
|
||||
<menupopup id="menu-bis-studenten-popup">
|
||||
<menuitem
|
||||
id = "menu-bis-studenten-plausibilitaetspruefung"
|
||||
key = "menu-bis-studenten-plausibilitaetspruefung:key"
|
||||
label = "&menu-bis-studenten-plausibilitaetspruefung.label;"
|
||||
command = "menu-bis-studenten-plausibilitaetspruefung:command"
|
||||
accesskey = "&menu-bis-studenten-plausibilitaetspruefung.accesskey;"/>
|
||||
<menuitem
|
||||
id = "menu-bis-studenten-export"
|
||||
key = "menu-bis-studenten-export:key"
|
||||
label = "&menu-bis-studenten-export.label;"
|
||||
command = "menu-bis-studenten-export:command"
|
||||
accesskey = "&menu-bis-studenten-export.accesskey;"/>
|
||||
</menupopup>
|
||||
</menu>
|
||||
</menupopup>
|
||||
</menu>
|
||||
<menu id="menu-help" label="&menu-help.label;" accesskey="&menu-help.accesskey;">
|
||||
|
||||
@@ -824,6 +824,52 @@ function BISMitarbeiterCheckFunktion()
|
||||
window.open('<?php echo APP_ROOT ?>vilesci/bis/checkfunktion.php','CheckFunktion','');
|
||||
}
|
||||
|
||||
// ****
|
||||
// * oeffnet Script zum Checken der Studentendaten
|
||||
// ****
|
||||
function BISStudentenPlausicheck()
|
||||
{
|
||||
var tree=document.getElementById('tree-verband');
|
||||
|
||||
//Wenn nichts markiert wurde -> beenden
|
||||
if(tree.currentIndex==-1)
|
||||
{
|
||||
alert('Bitte einen Studiengang auswaehlen');
|
||||
return;
|
||||
}
|
||||
|
||||
col = tree.columns ? tree.columns["stg_kz"] : "stg_kz";
|
||||
var stg_kz=tree.view.getCellText(tree.currentIndex,col);
|
||||
|
||||
if(stg_kz!='')
|
||||
window.open('<?php echo APP_ROOT ?>vilesci/bis/bis_datencheck.php?stg_kz='+stg_kz,'Datencheck','');
|
||||
else
|
||||
alert('Bitte einen Studiengang auswaehlen');
|
||||
}
|
||||
|
||||
// ****
|
||||
// * oeffnet Script zum Checken der Studentendaten
|
||||
// ****
|
||||
function BISStudentenExport()
|
||||
{
|
||||
var tree=document.getElementById('tree-verband');
|
||||
|
||||
//Wenn nichts markiert wurde -> beenden
|
||||
if(tree.currentIndex==-1)
|
||||
{
|
||||
alert('Bitte einen Studiengang auswaehlen');
|
||||
return;
|
||||
}
|
||||
|
||||
col = tree.columns ? tree.columns["stg_kz"] : "stg_kz";
|
||||
var stg_kz=tree.view.getCellText(tree.currentIndex,col);
|
||||
|
||||
if(stg_kz!='')
|
||||
window.open('<?php echo APP_ROOT ?>vilesci/bis/studentenmeldung.php?stg_kz='+stg_kz,'StudentenMeldung','');
|
||||
else
|
||||
alert('Bitte einen Studiengang auswaehlen');
|
||||
}
|
||||
|
||||
// ****
|
||||
// * Oeffnet den About Dialog
|
||||
// ****
|
||||
|
||||
@@ -344,6 +344,9 @@ function LeNeu()
|
||||
document.getElementById('lehrveranstaltung-detail-checkbox-new').checked=true;
|
||||
document.getElementById('lehrveranstaltung-detail-textbox-stundenblockung').value='2';
|
||||
document.getElementById('lehrveranstaltung-detail-textbox-wochenrythmus').value='1';
|
||||
|
||||
var stsem = getStudiensemester();
|
||||
document.getElementById('lehrveranstaltung-detail-menulist-studiensemester').value=stsem;
|
||||
}
|
||||
// ****
|
||||
// * Selectiert die Lektorzuordnung nachdem der Tree
|
||||
|
||||
@@ -355,6 +355,8 @@ function StudentAbschlusspruefungAuswahl()
|
||||
document.getElementById('student-abschlusspruefung-textbox-anmerkung').value=anmerkung;
|
||||
document.getElementById('student-abschlusspruefung-textbox-abschlusspruefung_id').value=abschlusspruefung_id;
|
||||
document.getElementById('student-abschlusspruefung-checkbox-neu').checked=false;
|
||||
|
||||
StudentAbschlusspruefungTypChange();
|
||||
}
|
||||
|
||||
// ****
|
||||
@@ -616,3 +618,21 @@ function StudentAbschlusspruefungPrintUrkunde(sprache)
|
||||
|
||||
window.open('<?php echo APP_ROOT; ?>/content/pdfExport.php?xml=abschlusspruefung.rdf.php&xsl='+xsl+'&abschlusspruefung_id='+abschlusspruefung_id,'Pruefungsprotokoll', 'height=200,width=350,left=0,top=0,hotkeys=0,resizable=yes,status=no,scrollbars=yes,toolbar=no,location=no,menubar=no,dependent=yes');
|
||||
}
|
||||
|
||||
function StudentAbschlusspruefungTypChange()
|
||||
{
|
||||
if(document.getElementById('student-abschlusspruefung-menulist-typ').value=='Bachelor')
|
||||
{
|
||||
document.getElementById('student-abschlusspruefung-label-pruefer1').value='Pruefer 1';
|
||||
document.getElementById('student-abschlusspruefung-label-pruefer2').value='Pruefer 2';
|
||||
document.getElementById('student-abschlusspruefung-menulist-pruefer3').hidden=false;
|
||||
document.getElementById('student-abschlusspruefung-label-pruefer3').hidden=false;
|
||||
}
|
||||
else
|
||||
{
|
||||
document.getElementById('student-abschlusspruefung-label-pruefer1').value='Pruefer 1 (nicht technisch)';
|
||||
document.getElementById('student-abschlusspruefung-label-pruefer2').value='Pruefer 2 (technisch)';
|
||||
document.getElementById('student-abschlusspruefung-menulist-pruefer3').hidden=true;
|
||||
document.getElementById('student-abschlusspruefung-label-pruefer3').hidden=true;
|
||||
}
|
||||
}
|
||||
@@ -151,6 +151,23 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
|
||||
<column flex="5"/>
|
||||
</columns>
|
||||
<rows>
|
||||
<row>
|
||||
<label value="Typ" control="student-abschlusspruefung-menulist-typ" />
|
||||
<menulist id="student-abschlusspruefung-menulist-typ"
|
||||
disabled="true"
|
||||
datasources="<?php echo APP_ROOT; ?>rdf/pruefungstyp.rdf.php?abschluss=true" flex="1"
|
||||
ref="http://www.technikum-wien.at/pruefungstyp/liste"
|
||||
oncommand="StudentAbschlusspruefungTypChange()"
|
||||
>
|
||||
<template>
|
||||
<menupopup>
|
||||
<menuitem value="rdf:http://www.technikum-wien.at/pruefungstyp/rdf#pruefungstyp_kurzbz"
|
||||
label="rdf:http://www.technikum-wien.at/pruefungstyp/rdf#beschreibung"
|
||||
uri="rdf:*"/>
|
||||
</menupopup>
|
||||
</template>
|
||||
</menulist>
|
||||
</row>
|
||||
<row>
|
||||
<label value="Vorsitz" control="student-abschlusspruefung-menulist-vorsitz" />
|
||||
<menulist id="student-abschlusspruefung-menulist-vorsitz"
|
||||
@@ -167,7 +184,7 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
|
||||
</menupopup>
|
||||
</template>
|
||||
</menulist>
|
||||
<label value="Pruefer1" control="student-abschlusspruefung-menulist-pruefer1" />
|
||||
<label value="Pruefer1" id="student-abschlusspruefung-label-pruefer1" control="student-abschlusspruefung-menulist-pruefer1" />
|
||||
<menulist id="student-abschlusspruefung-menulist-pruefer1"
|
||||
editable="true" disabled="true"
|
||||
datasources="rdf:null" flex="1"
|
||||
@@ -197,7 +214,7 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
|
||||
</menupopup>
|
||||
</template>
|
||||
</menulist>
|
||||
<label value="Pruefer2" control="student-abschlusspruefung-menulist-pruefer2" />
|
||||
<label value="Pruefer2" id="student-abschlusspruefung-label-pruefer2" control="student-abschlusspruefung-menulist-pruefer2" />
|
||||
<menulist id="student-abschlusspruefung-menulist-pruefer2"
|
||||
editable="true" disabled="true"
|
||||
datasources="rdf:null" flex="1"
|
||||
@@ -227,7 +244,7 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
|
||||
</menupopup>
|
||||
</template>
|
||||
</menulist>
|
||||
<label value="Pruefer3" control="student-abschlusspruefung-menulist-pruefer3" />
|
||||
<label value="Pruefer3" id="student-abschlusspruefung-label-pruefer3" control="student-abschlusspruefung-menulist-pruefer3" />
|
||||
<menulist id="student-abschlusspruefung-menulist-pruefer3"
|
||||
editable="true" disabled="true"
|
||||
datasources="rdf:null" flex="1"
|
||||
@@ -243,32 +260,19 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
|
||||
</menulist>
|
||||
</row>
|
||||
<row>
|
||||
<label value="Datum" control="student-abschlusspruefung-datum-datum" />
|
||||
<box class="Datum" id="student-abschlusspruefung-datum-datum" disabled="true"/>
|
||||
<label value="Typ" control="student-abschlusspruefung-menulist-typ" />
|
||||
<menulist id="student-abschlusspruefung-menulist-typ"
|
||||
disabled="true"
|
||||
datasources="<?php echo APP_ROOT; ?>rdf/pruefungstyp.rdf.php?abschluss=true" flex="1"
|
||||
ref="http://www.technikum-wien.at/pruefungstyp/liste"
|
||||
>
|
||||
<template>
|
||||
<menupopup>
|
||||
<menuitem value="rdf:http://www.technikum-wien.at/pruefungstyp/rdf#pruefungstyp_kurzbz"
|
||||
label="rdf:http://www.technikum-wien.at/pruefungstyp/rdf#beschreibung"
|
||||
uri="rdf:*"/>
|
||||
</menupopup>
|
||||
</template>
|
||||
</menulist>
|
||||
</row>
|
||||
<row>
|
||||
<label value="Sponsion" control="student-abschlusspruefung-datum-sponsion" />
|
||||
<vbox>
|
||||
<box class="Datum" id="student-abschlusspruefung-datum-sponsion" disabled="true"/>
|
||||
<spacer flex="1" />
|
||||
<label value="Datum" control="student-abschlusspruefung-datum-datum" />
|
||||
<label value="Sponsion" control="student-abschlusspruefung-datum-sponsion" />
|
||||
</vbox>
|
||||
<label value="Anmerkung" control="student-abschlusspruefung-textbox-anmerkung" />
|
||||
<vbox>
|
||||
<box class="Datum" id="student-abschlusspruefung-datum-datum" disabled="true"/>
|
||||
<box class="Datum" id="student-abschlusspruefung-datum-sponsion" disabled="true"/>
|
||||
</vbox>
|
||||
|
||||
<label value="Anmerkung" control="student-abschlusspruefung-textbox-anmerkung" />
|
||||
<textbox id="student-abschlusspruefung-textbox-anmerkung" multiline="true" maxlength="256" disabled="true"/>
|
||||
</row>
|
||||
|
||||
<row>
|
||||
<spacer />
|
||||
<spacer />
|
||||
|
||||
@@ -200,7 +200,7 @@ class mitarbeiter extends benutzer
|
||||
|
||||
//Neuen Datensatz anlegen
|
||||
$qry = "INSERT INTO public.tbl_mitarbeiter(mitarbeiter_uid, ausbildungcode, personalnummer, kurzbz, lektor, ort_kurzbz,
|
||||
fixangestellt, standort_kurzbz, telefonklappe, anmerkung, stundensatz, updateamum, updatevon, ext_id)
|
||||
fixangestellt, standort_kurzbz, telefonklappe, anmerkung, stundensatz, updateamum, updatevon, insertamum, insertvon, ext_id)
|
||||
|
||||
VALUES('".addslashes($this->uid)."',".
|
||||
$this->addslashes($this->ausbildungcode).",".
|
||||
@@ -215,6 +215,8 @@ class mitarbeiter extends benutzer
|
||||
$this->addslashes($this->stundensatz).','.
|
||||
$this->addslashes($this->updateamum).','.
|
||||
$this->addslashes($this->updatevon).', '.
|
||||
$this->addslashes($this->insertamum).','.
|
||||
$this->addslashes($this->insertvon).', '.
|
||||
$this->addslashes($this->ext_id_mitarbeiter).');';
|
||||
}
|
||||
else
|
||||
|
||||
+42
-86
@@ -374,7 +374,6 @@ class person
|
||||
$this->addslashes($this->geburtsnation).','.
|
||||
$this->addslashes($this->staatsbuergerschaft).','.
|
||||
$this->addslashes($this->ext_id).');';
|
||||
$this->done=true;
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -384,101 +383,58 @@ class person
|
||||
$this->errormsg = "person_id muss eine gueltige Zahl sein\n";
|
||||
return false;
|
||||
}
|
||||
|
||||
//update nur wenn änderungen gemacht
|
||||
$qry="SELECT * FROM public.tbl_person WHERE person_id='$this->person_id';";
|
||||
if($result = pg_query($this->conn, $qry))
|
||||
{
|
||||
if($row = pg_fetch_object($result))
|
||||
{
|
||||
$update=false;
|
||||
if($row->sprache!=$this->sprache) $update=true;
|
||||
if($row->anrede!=$this->anrede) $update=true;
|
||||
if($row->titelpost!=$this->titelpost) $update=true;
|
||||
if($row->titelpre!=$this->titelpre) $update=true;
|
||||
if($row->nachname!=$this->nachname) $update=true;
|
||||
if($row->vorname!=$this->vorname) $update=true;
|
||||
if($row->vornamen!=$this->vornamen) $update=true;
|
||||
if($row->gebdatum!=$this->gebdatum) $update=true;
|
||||
if($row->gebort!=$this->gebort) $update=true;
|
||||
if($row->gebzeit!=$this->gebzeit) $update=true;
|
||||
if($row->foto!=$this->foto) $update=true;
|
||||
if($row->anmerkungen!=$this->anmerkungen) $update=true;
|
||||
if($row->homepage!=$this->homepage) $update=true;
|
||||
if($row->svnr!=$this->svnr) $update=true;
|
||||
if($row->ersatzkennzeichen!=$this->ersatzkennzeichen) $update=true;
|
||||
if($row->familienstand!=$this->familienstand) $update=true;
|
||||
if($row->anzahlkinder!=$this->anzahlkinder) $update=true;
|
||||
if($row->aktiv!=$this->aktiv) $update=true;
|
||||
if($row->geburtsnation!=$this->geburtsnation) $update=true;
|
||||
if($row->geschlecht!=$this->geschlecht) $update=true;
|
||||
if($row->staatsbuergerschaft!=$this->staatsbuergerschaft) $update=true;
|
||||
|
||||
if($update)
|
||||
{
|
||||
$qry = 'UPDATE public.tbl_person SET'.
|
||||
' sprache='.$this->addslashes($this->sprache).','.
|
||||
' anrede='.$this->addslashes($this->anrede).','.
|
||||
' titelpost='.$this->addslashes($this->titelpost).','.
|
||||
' titelpre='.$this->addslashes($this->titelpre).','.
|
||||
' nachname='.$this->addslashes($this->nachname).','.
|
||||
' vorname='.$this->addslashes($this->vorname).','.
|
||||
' vornamen='.$this->addslashes($this->vornamen).','.
|
||||
' gebdatum='.$this->addslashes($this->gebdatum).','.
|
||||
' gebort='.$this->addslashes($this->gebort).','.
|
||||
' gebzeit='.$this->addslashes($this->gebzeit).','.
|
||||
' foto='.$this->addslashes($this->foto).','.
|
||||
' anmerkungen='.$this->addslashes($this->anmerkungen).','.
|
||||
' homepage='.$this->addslashes($this->homepage).','.
|
||||
' svnr='.$this->addslashes($this->svnr).','.
|
||||
' ersatzkennzeichen='.$this->addslashes($this->ersatzkennzeichen).','.
|
||||
' familienstand='.$this->addslashes($this->familienstand).','.
|
||||
' anzahlkinder='.$this->addslashes($this->anzahlkinder).','.
|
||||
' aktiv='.($this->aktiv?'true':'false').','.
|
||||
' insertamum=now(),'.
|
||||
' insertvon='.$this->addslashes($this->insertvon).','.
|
||||
' updateamum=now(),'.
|
||||
' updatevon='.$this->addslashes($this->updatevon).','.
|
||||
' geschlecht='.$this->addslashes($this->geschlecht).','.
|
||||
' geburtsnation='.$this->addslashes($this->geburtsnation).','.
|
||||
' staatsbuergerschaft='.$this->addslashes($this->staatsbuergerschaft).','.
|
||||
' ext_id='.$this->addslashes($this->ext_id).
|
||||
' WHERE person_id='.$this->person_id.';';
|
||||
$this->done=true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$qry = 'UPDATE public.tbl_person SET'.
|
||||
' sprache='.$this->addslashes($this->sprache).','.
|
||||
' anrede='.$this->addslashes($this->anrede).','.
|
||||
' titelpost='.$this->addslashes($this->titelpost).','.
|
||||
' titelpre='.$this->addslashes($this->titelpre).','.
|
||||
' nachname='.$this->addslashes($this->nachname).','.
|
||||
' vorname='.$this->addslashes($this->vorname).','.
|
||||
' vornamen='.$this->addslashes($this->vornamen).','.
|
||||
' gebdatum='.$this->addslashes($this->gebdatum).','.
|
||||
' gebort='.$this->addslashes($this->gebort).','.
|
||||
' gebzeit='.$this->addslashes($this->gebzeit).','.
|
||||
' foto='.$this->addslashes($this->foto).','.
|
||||
' anmerkungen='.$this->addslashes($this->anmerkungen).','.
|
||||
' homepage='.$this->addslashes($this->homepage).','.
|
||||
' svnr='.$this->addslashes($this->svnr).','.
|
||||
' ersatzkennzeichen='.$this->addslashes($this->ersatzkennzeichen).','.
|
||||
' familienstand='.$this->addslashes($this->familienstand).','.
|
||||
' anzahlkinder='.$this->addslashes($this->anzahlkinder).','.
|
||||
' aktiv='.($this->aktiv?'true':'false').','.
|
||||
' insertamum=now(),'.
|
||||
' insertvon='.$this->addslashes($this->insertvon).','.
|
||||
' updateamum=now(),'.
|
||||
' updatevon='.$this->addslashes($this->updatevon).','.
|
||||
' geschlecht='.$this->addslashes($this->geschlecht).','.
|
||||
' geburtsnation='.$this->addslashes($this->geburtsnation).','.
|
||||
' staatsbuergerschaft='.$this->addslashes($this->staatsbuergerschaft).','.
|
||||
' ext_id='.$this->addslashes($this->ext_id).
|
||||
' WHERE person_id='.$this->person_id.';';
|
||||
}
|
||||
|
||||
if ($this->done)
|
||||
if(pg_query($this->conn,$qry))
|
||||
{
|
||||
|
||||
if(pg_query($this->conn,$qry))
|
||||
if($this->new)
|
||||
{
|
||||
if($this->new)
|
||||
$qry = "SELECT currval('public.tbl_person_person_id_seq') AS id;";
|
||||
if($row=pg_fetch_object(pg_query($this->conn,$qry)))
|
||||
$this->person_id=$row->id;
|
||||
else
|
||||
{
|
||||
$qry = "SELECT currval('tbl_person_person_id_seq') AS id;";
|
||||
if($row=pg_fetch_object(pg_query($this->conn,$qry)))
|
||||
$this->person_id=$row->id;
|
||||
else
|
||||
{
|
||||
$this->errormsg = "Sequence konnte nicht ausgelesen werden\n";
|
||||
return false;
|
||||
}
|
||||
$this->errormsg = "Sequence konnte nicht ausgelesen werden\n";
|
||||
return false;
|
||||
}
|
||||
//Log schreiben
|
||||
return true;
|
||||
}
|
||||
//Log schreiben
|
||||
return true;
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->errormsg = "*****\nFehler beim Speichern des Person-Datensatzes: ".$this->nachname."\n".$qry."\n".pg_errormessage($this->conn)."\n*****\n";
|
||||
return false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
return true;
|
||||
$this->errormsg = "Fehler beim Speichern des Person-Datensatzes:".pg_errormessage($this->conn);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
/**
|
||||
|
||||
@@ -144,3 +144,15 @@
|
||||
<!ENTITY menu-bis-mitarbeiter-checkfunktion.key "F">
|
||||
<!ENTITY menu-bis-mitarbeiter-checkfunktion.label "checkFunktion">
|
||||
<!ENTITY menu-bis-mitarbeiter-checkfunktion.accesskey "F">
|
||||
|
||||
<!ENTITY menu-bis-studenten.key "S">
|
||||
<!ENTITY menu-bis-studenten.label "Studenten">
|
||||
<!ENTITY menu-bis-studenten.accesskey "S">
|
||||
|
||||
<!ENTITY menu-bis-studenten-plausibilitaetspruefung.key "P">
|
||||
<!ENTITY menu-bis-studenten-plausibilitaetspruefung.label "Plausibilitaetspruefung">
|
||||
<!ENTITY menu-bis-studenten-plausibilitaetspruefung.accesskey "P">
|
||||
|
||||
<!ENTITY menu-bis-studenten-export.key "E">
|
||||
<!ENTITY menu-bis-studenten-export.label "Meldung generieren">
|
||||
<!ENTITY menu-bis-studenten-export.accesskey "E">
|
||||
|
||||
@@ -108,7 +108,7 @@ if($result = pg_query($conn, $qry))
|
||||
{
|
||||
if($row_proj = pg_fetch_object($result_proj))
|
||||
{
|
||||
$qry_bet = "SELECT titelpre, vorname, nachname, titelpost FROM lehre.tbl_projektbetreuer JOIN public.tbl_person USING(person_id) WHERE projektarbeit_id='$row_proj->projektarbeit_id' AND (betreuerart_kurzbz='Erstbegutachter' OR betreuerart_kurzbz='Erstbetreuer') LIMIT 1";
|
||||
$qry_bet = "SELECT titelpre, vorname, nachname, titelpost FROM lehre.tbl_projektbetreuer JOIN public.tbl_person USING(person_id) WHERE projektarbeit_id='$row_proj->projektarbeit_id' AND (betreuerart_kurzbz in('Erstbegutachter', 'Erstbetreuer', 'Betreuer', 'Begutacher')) LIMIT 1";
|
||||
if($result_bet = pg_query($conn, $qry_bet))
|
||||
if($row_bet = pg_fetch_object($result_bet))
|
||||
$betreuer = $row_bet->titelpre.' '.$row_bet->vorname.' '.$row_bet->nachname.' '.$row_bet->titelpost;
|
||||
@@ -120,7 +120,7 @@ if($result = pg_query($conn, $qry))
|
||||
|
||||
if($row_proj = pg_fetch_object($result_proj))
|
||||
{
|
||||
$qry_bet = "SELECT titelpre, vorname, nachname, titelpost FROM lehre.tbl_projektbetreuer JOIN public.tbl_person USING(person_id) WHERE projektarbeit_id='$row_proj->projektarbeit_id' LIMIT 1";
|
||||
$qry_bet = "SELECT titelpre, vorname, nachname, titelpost FROM lehre.tbl_projektbetreuer JOIN public.tbl_person USING(person_id) WHERE projektarbeit_id='$row_proj->projektarbeit_id' AND (betreuerart_kurzbz in('Erstbegutachter', 'Erstbetreuer', 'Betreuer', 'Begutacher')) LIMIT 1";
|
||||
if($result_bet = pg_query($conn, $qry_bet))
|
||||
if($row_bet = pg_fetch_object($result_bet))
|
||||
$betreuer_2 = $row_bet->titelpre.' '.$row_bet->vorname.' '.$row_bet->nachname.' '.$row_bet->titelpost;
|
||||
|
||||
Reference in New Issue
Block a user