From 39ddc53a659a4ab7011395f75b1fe520ec704f88 Mon Sep 17 00:00:00 2001 From: Finn Schneider Date: Wed, 18 Mar 2026 16:11:13 +0100 Subject: added assign form start & end --- app/controllers/evaluation/assign.php | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) 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); } -- cgit v1.0