Skip to content
Snippets Groups Projects
Commit 592bef38 authored by Jean-Philippe Metivier's avatar Jean-Philippe Metivier
Browse files

Protection du changement d'etat si pas d'etat

parent 2c179525
Branches
Tags
No related merge requests found
......@@ -27,7 +27,7 @@ use UnicaenEtat\Entity\Db\EtatType;
<div class="alert alert-info">
La session de formation <strong><?php echo $session->getFormation()->getLibelle(); ?></strong>
(<?php echo $session->getPeriode(); ?>) est actuellement à l'état
<strong><?php echo $session->getEtatActif()->getType()->getLibelle(); ?></strong>
<strong><?php echo $session->getEtatActif()?$session->getEtatActif()->getType()->getLibelle():"Aucun état connu"; ?></strong>
<?php echo $this->etatinstance($session->getEtatActif(), ['display-categorie' => false]); ?>.
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment