Parcourir la source

Correctif menu admin

v1
Guillaume il y a 3 ans
Parent
révision
7d4d6e903a
1 fichiers modifiés avec 16 ajouts et 16 suppressions
  1. +16
    -16
      src/Controller/Admin/DashboardController.php

+ 16
- 16
src/Controller/Admin/DashboardController.php Voir le fichier

@@ -87,19 +87,19 @@ class DashboardController extends SovDashboardController
->set('submenuIndex', 0)
->generateUrl();

$urlOfflineCollectif = $this->adminUrlGenerator
->setController(CollectifDataCrudController::class)
->setAction(Action::INDEX)
->set('status', 0)
->set('menuIndex', 4)
->set('submenuIndex', 0)
->generateUrl();

$urlOnlineCollectif = $this->adminUrlGenerator
->setController(CollectifDataCrudController::class)
->setAction(Action::INDEX)
->set('status', 1)
->set('menuIndex', 4)
->set('submenuIndex', 2)
->generateUrl();

$urlOfflineCollectif = $this->adminUrlGenerator
->setController(CollectifDataCrudController::class)
->setAction(Action::INDEX)
->set('status', 0)
->set('menuIndex', 4)
->set('submenuIndex', 1)
->generateUrl();

@@ -110,19 +110,19 @@ class DashboardController extends SovDashboardController
->set('submenuIndex', 0)
->generateUrl();

$urlOfflineIndividuel = $this->adminUrlGenerator
->setController(IndividualDataCrudController::class)
->setAction(Action::INDEX)
->set('status', 0)
->set('menuIndex', 3)
->set('submenuIndex', 0)
->generateUrl();

$urlOnlineIndividuel = $this->adminUrlGenerator
->setController(IndividualDataCrudController::class)
->setAction(Action::INDEX)
->set('status', 1)
->set('menuIndex', 3)
->set('submenuIndex', 2)
->generateUrl();

$urlOfflineIndividuel = $this->adminUrlGenerator
->setController(IndividualDataCrudController::class)
->setAction(Action::INDEX)
->set('status', 0)
->set('menuIndex', 3)
->set('submenuIndex', 1)
->generateUrl();


Chargement…
Annuler
Enregistrer