diff options
| author | Finn Schneider <schneider@data-quest.de> | 2026-03-18 16:11:13 +0100 |
|---|---|---|
| committer | Finn Schneider <schneider@data-quest.de> | 2026-03-18 16:11:13 +0100 |
| commit | 39ddc53a659a4ab7011395f75b1fe520ec704f88 (patch) | |
| tree | b057228ed16e95fb05920728fb4c9449661c67ca | |
| parent | 8fe767ad512fff8b876f4c8b59eaee072d542978 (diff) | |
added assign form start & end
| -rw-r--r-- | app/controllers/evaluation/assign.php | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/app/controllers/evaluation/assign.php b/app/controllers/evaluation/assign.php index 9988476..1ecb7eb 100644 --- a/app/controllers/evaluation/assign.php +++ b/app/controllers/evaluation/assign.php @@ -39,6 +39,28 @@ class Evaluation_AssignController extends AuthenticatedController ['options' => $templates] ) ); + $part->addInput( + new \Studip\Forms\DatetimepickerInput( + 'startdate', + _('Start'), + $profile->startdate, + [ + 'mindate' => $profile->semester->beginn, + 'maxdate' => $profile->semester->ende + ] + ) + ); + $part->addInput( + new \Studip\Forms\DatetimepickerInput( + 'stopdate', + _('Ende'), + $profile->stopdate, + [ + 'mindate' => 'startdate', + 'maxdate' => $profile->semester->ende + ] + ) + ); $form->addPart($part); $this->render_form($form); } |
