Skip to content
Snippets Groups Projects
Commit 6c929bc1 authored by Laurent Lecluse's avatar Laurent Lecluse
Browse files

Affichage distinct des enseignements dans la fiche de service

parent a9f83ef1
No related branches found
No related tags found
No related merge requests found
......@@ -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,
......
......@@ -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";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment