Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
open-source
OSE
Commits
0022a5e5
Commit
0022a5e5
authored
Nov 10, 2021
by
Laurent Lécluse
Browse files
Affichage distinct des enseignements dans la fiche de service
(cherry picked from commit
6c929bc1
)
parent
b9e01af7
Changes
2
Hide whitespace changes
Inline
Side-by-side
module/Application/src/Application/Controller/IntervenantController.php
View file @
0022a5e5
...
...
@@ -160,6 +160,7 @@ class IntervenantController extends AbstractController
$this
->
em
()
->
getFilters
()
->
enable
(
'historique'
)
->
init
([
\
Application\Entity\Db\Service
::
class
,
\
Application\Entity\Db\VolumeHoraire
::
class
,
\
Application\Entity\Db\CheminPedagogique
::
class
,
\
Application\Entity\Db\ServiceReferentiel
::
class
,
\
Application\Entity\Db\VolumeHoraireReferentiel
::
class
,
\
Application\Entity\Db\Validation
::
class
,
...
...
@@ -191,7 +192,7 @@ class IntervenantController extends AbstractController
$campagneSaisie
=
$this
->
getServiceCampagneSaisie
()
->
getBy
(
$intervenant
->
getStatut
()
->
getTypeIntervenant
(),
$typeVolumeHoraire
);
if
(
!
$campagneSaisie
->
estOuverte
())
{
$role
=
$this
->
getServiceContext
()
->
getSelectedIdentityRole
();
if
(
$role
->
getIntervenant
())
{
...
...
module/Application/src/Application/View/Helper/Service/Ligne.php
View file @
0022a5e5
...
...
@@ -120,7 +120,11 @@ class Ligne extends AbstractViewHelper
$out
.
=
'<td>'
.
$this
->
renderStructure
(
$element
?
$element
->
getStructure
()
:
null
)
.
"</td>
\n
"
;
}
if
(
$liste
->
getColumnVisibility
(
'formation'
))
{
$out
.
=
'<td>'
.
$this
->
renderEtape
(
$element
?
$element
->
getEtape
()
:
null
)
.
"</td>
\n
"
;
$out
.
=
'<td>'
;
if
(
$element
&&
$element
->
getCheminPedagogique
()
->
count
()
>
1
)
{
$out
.
=
'<small class="badge" style="font-size:8pt" title="Enseignement mutualisé entre plusieures formations. Seule la formation principale est présentée ci-dessous">Enseignement mutualisé</small><br />'
;
}
$out
.
=
$this
->
renderEtape
(
$element
?
$element
->
getEtape
()
:
null
)
.
"</td>
\n
"
;
}
if
(
$liste
->
getColumnVisibility
(
'periode'
))
{
$out
.
=
'<td style="text-align:center">'
.
$this
->
renderPeriode
(
$element
?
$element
->
getPeriode
()
:
null
)
.
"</td>
\n
"
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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