getFunction for Student: restrict select attributes for person, update mitarbeiter model

This commit is contained in:
ma0068
2025-07-14 10:23:05 +02:00
parent 22afddc2ae
commit 9d341cc045
2 changed files with 170 additions and 35 deletions
@@ -74,7 +74,19 @@ class Student extends FHCAPI_Controller
$this->load->model('crm/Prestudent_model', 'PrestudentModel');
$this->PrestudentModel->addSelect('p.*');
$this->PrestudentModel->addSelect('p.person_id');
$this->PrestudentModel->addSelect('p.titelpre');
$this->PrestudentModel->addSelect('p.nachname');
$this->PrestudentModel->addSelect('p.vorname');
$this->PrestudentModel->addSelect('p.wahlname');
$this->PrestudentModel->addSelect('p.vornamen');
$this->PrestudentModel->addSelect('p.titelpost');
$this->PrestudentModel->addSelect('p.svnr');
$this->PrestudentModel->addSelect('p.ersatzkennzeichen');
$this->PrestudentModel->addSelect('p.gebdatum');
$this->PrestudentModel->addSelect('p.geschlecht');
$this->PrestudentModel->addSelect('p.foto');
$this->PrestudentModel->addSelect('p.foto_sperre');
$this->PrestudentModel->addSelect('s.student_uid');
$this->PrestudentModel->addSelect('matrikelnr');
$this->PrestudentModel->addSelect('b.aktiv');