summaryrefslogtreecommitdiff
path: root/public/app/config/setup_application.php
diff options
context:
space:
mode:
authorGeo Xalkis <gx23100@gmail.com>2023-07-30 20:00:44 +0300
committerGeo Xalkis <gx23100@gmail.com>2023-07-30 20:00:44 +0300
commitc6b6f89e7cda2621fd3d0dfa0768d010fc41d437 (patch)
tree4ab442691a931b5bb8820cea248516342e216b40 /public/app/config/setup_application.php
parent866ee315d09b1b8ecfda9d7bed516523fc1b82e4 (diff)
downloadgyraf1gov-c6b6f89e7cda2621fd3d0dfa0768d010fc41d437.tar.gz
gyraf1gov-c6b6f89e7cda2621fd3d0dfa0768d010fc41d437.tar.bz2
gyraf1gov-c6b6f89e7cda2621fd3d0dfa0768d010fc41d437.zip
changes on petition form (more to come)
Diffstat (limited to 'public/app/config/setup_application.php')
-rw-r--r--public/app/config/setup_application.php33
1 files changed, 16 insertions, 17 deletions
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'
]
]