mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-01 12:19:28 +00:00
fas statusbearbeitung sperre check: isStatusBeforeStudent - simplified expression
This commit is contained in:
@@ -86,9 +86,7 @@ if($prestudent_id!='')
|
|||||||
$disabled = $bismeldestichtag->checkMeldestichtagErreicht($datum) && !$rechte->isBerechtigt('student/keine_studstatuspruefung', null, 'suid')
|
$disabled = $bismeldestichtag->checkMeldestichtagErreicht($datum) && !$rechte->isBerechtigt('student/keine_studstatuspruefung', null, 'suid')
|
||||||
? ' disabled="true"'
|
? ' disabled="true"'
|
||||||
: '';
|
: '';
|
||||||
$isStatusBeforeStudent = in_array($status_kurzbz, array('Student','Diplomand','Absovlent','Incoming','Abbrecher','Unterbrecher'))
|
$isStatusBeforeStudent = !in_array($status_kurzbz, array('Student','Diplomand','Absovlent','Incoming','Abbrecher','Unterbrecher'));
|
||||||
? false
|
|
||||||
: true;
|
|
||||||
$disabledStudent = $isStatusBeforeStudent
|
$disabledStudent = $isStatusBeforeStudent
|
||||||
? ' '
|
? ' '
|
||||||
: ' disabled="true"';
|
: ' disabled="true"';
|
||||||
|
|||||||
Reference in New Issue
Block a user