Changed bpk to Matrikelnummer

Signed-off-by: cris-technikum <hainberg@technikum-wien.at>
This commit is contained in:
Cris
2021-01-18 15:09:01 +01:00
committed by cris-technikum
parent e04e584410
commit 4df012798f
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -58,7 +58,8 @@ class AnrechnungLib
$antrag_data->studiensemester_kurzbz = $studiensemester_kurzbz;
$antrag_data->vorname = $person->vorname;
$antrag_data->nachname = $person->nachname;
$antrag_data->bpk = $person->bpk;
// $antrag_data->bpk = $person->bpk;
$antrag_data->bpk = $person->matr_nr;
$antrag_data->stg_bezeichnung = $studiengang->bezeichnung;
$antrag_data->lektoren = $lv_lektoren;
+1 -1
View File
@@ -191,7 +191,7 @@ class Person_model extends DB_Model
*/
public function getByUid($uid)
{
$this->addSelect('vorname, nachname, gebdatum, person_id, bpk');
$this->addSelect('vorname, nachname, gebdatum, person_id, bpk, matr_nr');
$this->addJoin('tbl_benutzer', 'person_id');
return $this->loadWhere(array('uid' => $uid));