mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-20 00:12:15 +00:00
Merge branch 'master' into ci
Conflicts: cis/testtool/admin/add_gebiet.php cis/testtool/admin/edit_gebiet.php cis/testtool/admin/index.php config/global.config-default.inc.php content/student/studentDBDML.php content/student/studentdetailoverlay.xul.php include/ablauf.class.php include/frage.class.php include/organisationseinheit.class.php include/studiengang.class.php include/vorschlag.class.php phpci.yml rdf/student.rdf.php system/dbupdate_3.2.php tests/codeception/_support/AcceptanceTester.php tests/codeception/_support/BasisKlasseTest.php tests/codeception/_support/FunctionalTester.php tests/codeception/_support/UnitTester.php tests/codeception/_support/_generated/AcceptanceTesterActions.php tests/codeception/acceptance/AcceptanceTester.php tests/codeception/acceptance/CISLoginPageCept.php tests/codeception/acceptance/_bootstrap.php tests/codeception/codeception.dist.yml tests/codeception/functional/FunctionalTester.php tests/codeception/functional/_bootstrap.php tests/codeception/tests/acceptance.suite.dist.yml tests/codeception/tests/acceptance/CISLoginPage.php tests/codeception/tests/acceptance/CISLoginPageCept.php tests/codeception/tests/api/_bootstrap.php tests/codeception/tests/functional/FunctionalTester.php tests/codeception/tests/functional/_bootstrap.php tests/codeception/tests/unit/BasisKlasseTest.php tests/codeception/tests/unit/UnitTester.php tests/codeception/unit/BasisKlasseTest.php tests/codeception/unit/UnitTester.php
This commit is contained in:
@@ -67,6 +67,7 @@ class prestudent extends person
|
||||
public $zgvdoktorort;
|
||||
public $zgvdoktordatum;
|
||||
public $zgvdoktornation;
|
||||
public $gsstudientyp_kurzbz='Intern';
|
||||
|
||||
public $status_kurzbz;
|
||||
public $studiensemester_kurzbz;
|
||||
@@ -155,6 +156,7 @@ class prestudent extends person
|
||||
$this->zgvdoktorort = $row->zgvdoktorort;
|
||||
$this->zgvdoktordatum = $row->zgvdoktordatum;
|
||||
$this->zgvdoktornation = $row->zgvdoktornation;
|
||||
$this->gsstudientyp_kurzbz = $row->gsstudientyp_kurzbz;
|
||||
|
||||
if(!person::load($row->person_id))
|
||||
return false;
|
||||
@@ -230,7 +232,7 @@ class prestudent extends person
|
||||
zgvmas_code, zgvmaort, zgvmadatum, zgvmanation, aufnahmeschluessel, facheinschlberuf,
|
||||
reihungstest_id, anmeldungreihungstest, reihungstestangetreten, rt_gesamtpunkte,
|
||||
rt_punkte1, rt_punkte2, rt_punkte3, bismelden, insertamum, insertvon,
|
||||
updateamum, updatevon, anmerkung, dual, ausstellungsstaat, mentor) VALUES('.
|
||||
updateamum, updatevon, anmerkung, dual, ausstellungsstaat, mentor, gsstudientyp_kurzbz) VALUES('.
|
||||
$this->db_add_param($this->aufmerksamdurch_kurzbz).",".
|
||||
$this->db_add_param($this->person_id).",".
|
||||
$this->db_add_param($this->studiengang_kz).",".
|
||||
@@ -261,7 +263,8 @@ class prestudent extends person
|
||||
$this->db_add_param($this->anmerkung).",".
|
||||
$this->db_add_param($this->dual, FHC_BOOLEAN).",".
|
||||
$this->db_add_param($this->ausstellungsstaat).",".
|
||||
$this->db_add_param($this->mentor).");";
|
||||
$this->db_add_param($this->mentor).",".
|
||||
$this->db_add_param($this->gsstudientyp_kurzbz).");";
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -293,6 +296,7 @@ class prestudent extends person
|
||||
' updatevon='.$this->db_add_param($this->updatevon).",".
|
||||
' anmerkung='.$this->db_add_param($this->anmerkung).",".
|
||||
' mentor='.$this->db_add_param($this->mentor).",".
|
||||
' gsstudientyp_kurzbz='.$this->db_add_param($this->gsstudientyp_kurzbz).",".
|
||||
' dual='.$this->db_add_param($this->dual, FHC_BOOLEAN).",".
|
||||
' ausstellungsstaat='.$this->db_add_param($this->ausstellungsstaat).
|
||||
" WHERE prestudent_id=".$this->db_add_param($this->prestudent_id).";";
|
||||
@@ -335,24 +339,21 @@ class prestudent extends person
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Falls ZGV vorhanden, setze Ausstellungsstaat (für BIS-Meldung)
|
||||
* auf Nation der höchsten angegebenen ZGV
|
||||
*/
|
||||
private function checkAusstellungsstaat()
|
||||
{
|
||||
|
||||
if ($this->zgvmas_code && $this->zgvmanation) {
|
||||
|
||||
$this->ausstellungsstaat = $this->zgvmanation;
|
||||
|
||||
} elseif ($this->zgv_code && $this->zgvnation) {
|
||||
|
||||
$this->ausstellungsstaat = $this->zgvnation;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
/**
|
||||
* Falls ZGV vorhanden, setze Ausstellungsstaat (für BIS-Meldung)
|
||||
* auf Nation der höchsten angegebenen ZGV
|
||||
*/
|
||||
private function checkAusstellungsstaat()
|
||||
{
|
||||
if ($this->zgvmas_code && $this->zgvmanation)
|
||||
{
|
||||
$this->ausstellungsstaat = $this->zgvmanation;
|
||||
}
|
||||
elseif ($this->zgv_code && $this->zgvnation)
|
||||
{
|
||||
$this->ausstellungsstaat = $this->zgvnation;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Laden aller Prestudenten, die an $datum zum Reihungstest geladen sind.
|
||||
@@ -703,6 +704,7 @@ class prestudent extends person
|
||||
$ps->bismelden = $this->db_parse_bool($row->bismelden);
|
||||
$ps->anmerkung = $row->anmerkung;
|
||||
$ps->dual = $this->db_parse_bool($row->dual);
|
||||
$ps->gsstudientyp_kurzbz = $row->gsstudientyp_kurzbz;
|
||||
|
||||
$ps->status_kurzbz = $row->status_kurzbz;
|
||||
$ps->studiensemester_kurzbz = $row->studiensemester_kurzbz;
|
||||
@@ -1413,10 +1415,6 @@ class prestudent extends person
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Liefert ein Array mit den Interessentenzahlen
|
||||
* @param $studiensemester_kurzbz (optional)
|
||||
|
||||
Reference in New Issue
Block a user