diff --git a/src/Controller/InterventionController.php b/src/Controller/InterventionController.php index e71c7eb..11cce71 100644 --- a/src/Controller/InterventionController.php +++ b/src/Controller/InterventionController.php @@ -17,7 +17,7 @@ final class InterventionController extends AbstractController #[Route(name: 'app_intervention_index', methods: ['GET'])] public function index(InterventionRepository $interventionRepository): Response { - return $this->render('intervention/admin.html.twig', [ + return $this->render('intervention/index.html.twig', [ 'interventions' => $interventionRepository->findAll(), ]); } diff --git a/templates/base.html.twig b/templates/base.html.twig index 75c4793..667edf1 100644 --- a/templates/base.html.twig +++ b/templates/base.html.twig @@ -23,6 +23,7 @@
  • Tous les plannings
  • Gérer les stocks
  • Gérer les véhicules
  • +
  • Test des fault !
  • {% endif %} {% if is_granted('ROLE_SECRETAIRE') %} diff --git a/templates/calendrier/index.html.twig b/templates/calendrier/index.html.twig index db2e53a..8452a71 100644 --- a/templates/calendrier/index.html.twig +++ b/templates/calendrier/index.html.twig @@ -17,7 +17,9 @@ - Create Intervention + + + diff --git a/templates/fault/index.html.twig b/templates/fault/index.html.twig index 8f96b09..4e9fc58 100644 --- a/templates/fault/index.html.twig +++ b/templates/fault/index.html.twig @@ -18,6 +18,7 @@ {{ fault.id }} {{ fault.Wording }} + {{ fault.actions }} show edit diff --git a/templates/intervention/new.html.twig b/templates/intervention/new.html.twig index bb564a5..cb3248d 100644 --- a/templates/intervention/new.html.twig +++ b/templates/intervention/new.html.twig @@ -15,7 +15,7 @@
    Logo Calendrier - Créer une intervention + Voir les interventions Logo Chauffagiste

    Choisissez un chauffagiste