mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-22 01:12:17 +00:00
bug Anzeige Orgform
This commit is contained in:
@@ -187,7 +187,7 @@ class Status extends FHC_Controller
|
||||
//check if bewerberstatus exists
|
||||
if($status_kurzbz == 'Aufgenommener' || $status_kurzbz == 'Wartender')
|
||||
{
|
||||
//TODO(manu) Wartender NICHT in Liste!? nur in diesem Code
|
||||
//TODO(manu) erst später für multiactions releveant
|
||||
//FAS: Aufnahme ist möglich: Beispiel prestudent_id = 129629
|
||||
|
||||
$result = $this->PrestudentstatusModel->checkIfExistingBewerberstatus($prestudent_id, $name);
|
||||
@@ -346,24 +346,31 @@ class Status extends FHC_Controller
|
||||
|
||||
//Student updaten (fuer Abbrecher und Unterbrecher)
|
||||
//not active yet: works only for "status ändern" in FAS
|
||||
/* $result = $this->StudentModel->update(
|
||||
[
|
||||
'student_uid' => $student_uid
|
||||
],
|
||||
[
|
||||
'studiengang_kz' => $studiengang_kz,
|
||||
'semester' => $ausbildungssemester,
|
||||
'verband' => $verband,
|
||||
'gruppe' => $gruppe,
|
||||
'updateamum' => date('c'),
|
||||
'updatevon' => $uid
|
||||
]);
|
||||
if ($this->db->trans_status() === false || isError($result))
|
||||
{
|
||||
$this->db->trans_rollback();
|
||||
$this->output->set_status_header(REST_Controller::HTTP_INTERNAL_SERVER_ERROR);
|
||||
return $this->outputJson($result->code);
|
||||
}*/
|
||||
//Later for multiactions
|
||||
|
||||
/*
|
||||
if($status_kurzbz == 'Abbrecher' || $status_kurzbz == 'Unterbrecher')
|
||||
{
|
||||
$result = $this->StudentModel->update(
|
||||
[
|
||||
'student_uid' => $student_uid
|
||||
],
|
||||
[
|
||||
'studiengang_kz' => $studiengang_kz,
|
||||
'semester' => $ausbildungssemester,
|
||||
'verband' => $verband,
|
||||
'gruppe' => $gruppe,
|
||||
'updateamum' => date('c'),
|
||||
'updatevon' => $uid
|
||||
]);
|
||||
if ($this->db->trans_status() === false || isError($result))
|
||||
{
|
||||
$this->db->trans_rollback();
|
||||
$this->output->set_status_header(REST_Controller::HTTP_INTERNAL_SERVER_ERROR);
|
||||
return $this->outputJson($result->code);
|
||||
}
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
$this->db->trans_commit();
|
||||
|
||||
@@ -58,7 +58,7 @@ export default{
|
||||
{title: "BestätigtAm", field: "format_bestaetigtam"},
|
||||
{title: "AbgeschicktAm", field: "format_bewerbung_abgeschicktamum"},
|
||||
{title: "Statusgrund", field: "statusgrund_kurzbz", visible: false},
|
||||
{title: "Organisationsform", field: "ps.orgform_kurzbz", visible: false},
|
||||
{title: "Organisationsform", field: "orgform_kurzbz", visible: false},
|
||||
{title: "PrestudentInId", field: "prestudent_id", visible: false},
|
||||
{title: "StudienplanId", field: "studienplan_id", visible: false},
|
||||
{title: "Anmerkung", field: "anmerkung", visible: false},
|
||||
|
||||
Reference in New Issue
Block a user