changeFormat Dates, use different select for MitarbeiterHeader before PV21, adapt condition for multiselect addon

This commit is contained in:
ma0068
2025-02-12 17:05:18 +01:00
parent 295e2aa3e5
commit 24682fb559
7 changed files with 99 additions and 25 deletions
@@ -659,7 +659,12 @@ class Vertraege extends FHCAPI_Controller
}
if (!hasData($result))
{
return $this->terminateWithError($this->p->t('ui', 'error_missingId', ['id' => 'Id_Lehrauftrag']), self::ERROR_TYPE_GENERAL);
//return data before PV21 (with filter fix angestellt, active and with bisverwendung)
$result = $this->Mitarbeitermodel->getPersonal(true, true, true);
if (isError($result))
{
return $this->terminateWithError($result, self::ERROR_TYPE_GENERAL);
}
}
return $this->terminateWithSuccess(getData($result));
}