From c6b6f89e7cda2621fd3d0dfa0768d010fc41d437 Mon Sep 17 00:00:00 2001 From: Geo Xalkis Date: Sun, 30 Jul 2023 20:00:44 +0300 Subject: changes on petition form (more to come) --- public/app/config/setup_application.php | 33 ++++++++++++++++----------------- 1 file changed, 16 insertions(+), 17 deletions(-) (limited to 'public/app/config/setup_application.php') diff --git a/public/app/config/setup_application.php b/public/app/config/setup_application.php index 0cd27c5..a8a911b 100644 --- a/public/app/config/setup_application.php +++ b/public/app/config/setup_application.php @@ -507,16 +507,7 @@ define('PENALTY_FORM', [ ], 'form' => [ [ - 'name' => 'subject', - 'label' => 'Θέμα (χαρακτηριστικός τίτλος για αναφορά)', - 'attributes' => ['required'] - ], - [ - 'label' => '', - 'type' => 'label' - ], - [ - 'label' => 'Πειθαρχική υπόθεση', + 'label' => 'Θέμα: Πειθαρχική υπόθεση', 'type' => 'label' ], [ @@ -542,8 +533,14 @@ define('PENALTY_FORM', [ [ 'name' => 'of_department', 'label' => 'του τμήματος...', + 'type' => 'select', + 'options' => [ + 'Α1', 'Α2', 'Α3', 'Α4', 'Α5', 'Α6', + 'Β1', 'Β2', 'Β3', 'Β4', 'Β5', 'Β6', + 'Γ1', 'Γ2', 'Γ3', 'Γ4', 'Γ5', 'Γ6' + ], 'class' => 'col-md-4', - 'attributes' => ['required'] + 'attributes' => ['required', 'multiple'] ], [ 'name' => 'date', @@ -566,14 +563,14 @@ define('PENALTY_FORM', [ 'Γραφείο Διευθυντή', 'Γραφείο Καθηγητών' ], - 'attributes' => ['required'] + 'attributes' => ['required', 'auto'] ], [ 'name' => 'rapporteur', 'label' => 'εισηγητής', 'type' => 'select', 'source' => '\app\extends\Cache_service::all_users', - 'attributes' => ['required'] + 'attributes' => ['required', 'auto'] ], [ 'name' => 'charge', @@ -604,9 +601,11 @@ define('PENALTY_FORM', [ 'label' => 'Αποφασίζει', 'type' => 'select', 'options' => [ - 'προφορική επίπληξη', - 'ωριαία αποβολή', - 'ημερήσια αποβολή' + 'προφορική παρατήρηση', + 'επίπληξη', + 'προφορική παρατήρηση με ωριαία απομάκρυνση' + 'αποβολή από τα μαθήματα μίας ημέρας', + 'αποβολή από τα μαθήματα δύο ημερών' ], 'attributes' => [] ], @@ -626,7 +625,7 @@ define('PENALTY_FORM', [ 'name' => 'members', 'label' => 'Μέλη', 'type' => 'select', - 'attributes' => ['required', 'multiple'], + 'attributes' => ['required', 'multiple', 'auto'], 'source' => '\app\extends\Cache_service::all_users' ] ] -- cgit v1.2.3