Loading src/UnicaenEtat/Service/EtatCategorie/EtatCategorieService.php +1 −1 Changes for src/UnicaenEtat/Service/EtatCategorie/EtatCategorieService.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -135,7 +135,7 @@ class EtatCategorieService { public function getEtatCategorieByCode(string $code) : ?EtatCategorie { $qb = $this->createQueryBuilder() ->andWhere('etype.code = :code') ->andWhere('ecategorie.code = :code') ->setParameter('code', $code) ; try { Loading src/UnicaenEtat/View/Helper/partial/etat-instance.phtml +10 −2 Changes for src/UnicaenEtat/View/Helper/partial/etat-instance.phtml: 10 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -12,10 +12,15 @@ $displayUser = (isset($options['display-user']) AND $options['display-user'] === $type = $instance->getType(); ?> <div class="row"> <div class="col-md-3"> <?php if ($type) : ?> <?php echo $this->etattype($type); ?> <?php endif; ?> </div> <div class="col-md-9"> <small> <?php if ($displayDate OR $displayUser) : ?> Validé·e <?php endif; ?> Loading @@ -24,9 +29,12 @@ $type = $instance->getType(); <?php $date = $instance->getHistoModification()?:$instance->getHistoCreation(); ?> <?php echo $date->format('d/m/Y à H:i'); ?> <?php endif; ?> <br/> <?php if ($displayUser) : ?> par <?php $user = $instance->getHistoModificateur()?:$instance->getHistoCreateur(); ?> <?php echo $user->getDisplayName(); ?> <?php endif; ?> </small> </div> </div> No newline at end of file Loading
src/UnicaenEtat/Service/EtatCategorie/EtatCategorieService.php +1 −1 Changes for src/UnicaenEtat/Service/EtatCategorie/EtatCategorieService.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -135,7 +135,7 @@ class EtatCategorieService { public function getEtatCategorieByCode(string $code) : ?EtatCategorie { $qb = $this->createQueryBuilder() ->andWhere('etype.code = :code') ->andWhere('ecategorie.code = :code') ->setParameter('code', $code) ; try { Loading
src/UnicaenEtat/View/Helper/partial/etat-instance.phtml +10 −2 Changes for src/UnicaenEtat/View/Helper/partial/etat-instance.phtml: 10 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -12,10 +12,15 @@ $displayUser = (isset($options['display-user']) AND $options['display-user'] === $type = $instance->getType(); ?> <div class="row"> <div class="col-md-3"> <?php if ($type) : ?> <?php echo $this->etattype($type); ?> <?php endif; ?> </div> <div class="col-md-9"> <small> <?php if ($displayDate OR $displayUser) : ?> Validé·e <?php endif; ?> Loading @@ -24,9 +29,12 @@ $type = $instance->getType(); <?php $date = $instance->getHistoModification()?:$instance->getHistoCreation(); ?> <?php echo $date->format('d/m/Y à H:i'); ?> <?php endif; ?> <br/> <?php if ($displayUser) : ?> par <?php $user = $instance->getHistoModificateur()?:$instance->getHistoCreateur(); ?> <?php echo $user->getDisplayName(); ?> <?php endif; ?> </small> </div> </div> No newline at end of file