Component Status: Tabelle

This commit is contained in:
ma0068
2024-02-13 10:45:00 +01:00
parent f4197f090b
commit 7ec24bfc7b
4 changed files with 236 additions and 10 deletions
@@ -157,9 +157,19 @@ class Prestudent extends FHC_Controller
{
$this->output->set_status_header(REST_Controller::HTTP_INTERNAL_SERVER_ERROR);
}
$this->outputJson(getData($result) ?: []);
}
public function getHistoryPrestudent($prestudent_id)
{
$this->load->model('crm/Prestudent_model', 'PrestudentModel');
$result = $this->PrestudentModel->getHistoryPrestudent($prestudent_id);
if (isError($result))
{
$this->output->set_status_header(REST_Controller::HTTP_INTERNAL_SERVER_ERROR);
}
$this->outputJson(getData($result) ?: []);
}
public function getBezeichnungZgv()