Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Χάρης Παπαδόπουλος
e-epal
Commits
42bfca80
Commit
42bfca80
authored
Jun 14, 2017
by
Open Source Developer
Browse files
trans
parent
49681e06
Changes
2
Hide whitespace changes
Inline
Side-by-side
drupal/modules/epal/src/Controller/DirectorView.php
View file @
42bfca80
...
...
@@ -446,10 +446,12 @@ class DirectorView extends ControllerBase
$SchoolCats
=
$this
->
entityTypeManager
->
getStorage
(
'eepal_school'
)
->
loadByProperties
(
array
(
'id'
=>
$schoolid
,
'edu_admin_id'
=>
$newid
));
}
$SchoolCat
=
reset
(
$SchoolCats
);
if
(
$SchoolCat
)
{
$list
=
array
();
$categ
=
$SchoolCat
->
metathesis_region
->
value
;
$operation_shift
=
$SchoolCat
->
operation_shift
->
value
;
}
$CourseA
=
$this
->
entityTypeManager
->
getStorage
(
'eepal_school'
)
->
loadByProperties
(
array
(
'id'
=>
$schoolid
));
...
...
@@ -520,6 +522,29 @@ class DirectorView extends ControllerBase
);
}
}
if
(
$CourseC
&&
$operation_shift
!=
'ΗΜΕΡΗΣΙΟ'
)
{
$limit_down
=
$this
->
entityTypeManager
->
getStorage
(
'epal_class_limits'
)
->
loadByProperties
(
array
(
'name'
=>
4
,
'category'
=>
$categ
));
$limitdown
=
reset
(
$limit_down
);
if
(
$limitdown
)
{
$limit
=
$limitdown
->
limit_down
->
value
;
}
foreach
(
$CourseC
as
$object
)
{
$specialityid
=
$object
->
specialty_id
->
entity
->
id
();
$studentPerSchool
=
$this
->
entityTypeManager
->
getStorage
(
'epal_student_class'
)
->
loadByProperties
(
array
(
'epal_id'
=>
$schoolid
,
'specialization_id'
=>
$specialityid
,
'currentclass'
=>
4
));
$list
[]
=
array
(
'id'
=>
$object
->
specialty_id
->
entity
->
id
(),
'name'
=>
'Δ Λυκείου '
.
$object
->
specialty_id
->
entity
->
get
(
'name'
)
->
value
,
'size'
=>
sizeof
(
$studentPerSchool
),
'categ'
=>
$categ
,
'classes'
=>
4
,
'limitdown'
=>
$limit
,
);
}
}
if
(
$CourseA
||
$CourseB
||
$CourseC
)
{
return
$this
->
respondWithStatus
(
$list
,
Response
::
HTTP_OK
);
...
...
source/components/student-application-form/disclaimer.ts
View file @
42bfca80
...
...
@@ -52,7 +52,26 @@ import {
<p>Επίσης πρέπει να γνωρίζετε ότι η Ηλεκτρονική Δήλωση Προτίμησης υπέχει θέση Υπ. Δήλωσης του ν. 1599/1986 (Α ́ 75) και οφείλετε τα στοιχεία που καταχωρίζετε σε αυτή να είναι αληθή.</p>
<form [formGroup]="formGroup" #form>
<ul>
<li class="list-group-item isclickable" [class.oddout]="isOdd" [class.evenout]="isEven" >
<div class="col-md-12" style="font-size: 1em; font-weight: bold;" >alalalallalalala</div>
</li>
<li class="list-group-item isclickable" [class.oddout]="isOdd" [class.evenout]="isEven" >
<div class="col-md-12" style="font-size: 1em; font-weight: bold;" >alalalallalalala</div>
</li>
<li class="list-group-item isclickable" [class.oddout]="isOdd" [class.evenout]="isEven" >
<div class="col-md-12" style="font-size: 1em; font-weight: bold;" >alalalallalalala</div>
</li>
<li class="list-group-item isclickable" [class.oddout]="isOdd" [class.evenout]="isEven" >
<div class="col-md-12" style="font-size: 1em; font-weight: bold;" >alalalallalalala</div>
</li>
</ul>
<div class="row">
<div class="col-md-1 ">
<input type="checkbox" [checked]="disclaimerChecked | async" formControlName="disclaimerChecked" >
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment