Commit be16f803 authored by Antony Le Courtes's avatar Antony Le Courtes
Browse files

Affichage permanent de la puce de notification du nombre de notes sur la fiche intervenant (#59170)

parent 40b16ee6
Loading
Loading
Loading
Loading
+3 −3
Changes for module/Application/src/Controller/IntervenantController.php: 3 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -157,9 +157,9 @@ class IntervenantController extends AbstractController

            return $vh;
        }
        $date = new \DateTime();
        $date->sub(new \DateInterval('P7D'));
        $notificationNote = $this->getServiceNote()->countNote($intervenant, $date);
        /*$date = new \DateTime();
         $date->sub(new \DateInterval('P7D'));*/
        $notificationNote = $this->getServiceNote()->countNote($intervenant);
        $this->addIntervenantRecent($intervenant);

        return compact('intervenant', 'tab', 'notificationNote');