Browse Source

Correctif menu admin

v1
Guillaume 3 years ago
parent
commit
7d4d6e903a
1 changed files with 16 additions and 16 deletions
  1. +16
    -16
      src/Controller/Admin/DashboardController.php

+ 16
- 16
src/Controller/Admin/DashboardController.php View File

@@ -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();


Loading…
Cancel
Save