deleteStatus fix isMeldestichtagErreicht comparison, add modal-dialog-scrollable class to status modal

This commit is contained in:
Harald Bamberger
2025-09-30 10:51:14 +02:00
parent 3551172c0b
commit 93fa0ed180
2 changed files with 3 additions and 2 deletions
@@ -733,8 +733,9 @@ class Status extends FHCAPI_Controller
);
$result = $this->prestudentstatuschecklib->checkIfMeldestichtagErreicht($oldstatus->datum);
$isMeldestichtagErreicht = $this->getDataOrTerminateWithError($result);
if (!$this->getDataOrTerminateWithError($result))
if ($isMeldestichtagErreicht)
$this->terminateWithError(
$this->p->t('lehre', 'error_dataVorMeldestichtag'),
self::ERROR_TYPE_GENERAL,