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

->set('submenuIndex', 0) ->set('submenuIndex', 0)
->generateUrl(); ->generateUrl();


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

$urlOnlineCollectif = $this->adminUrlGenerator $urlOnlineCollectif = $this->adminUrlGenerator
->setController(CollectifDataCrudController::class) ->setController(CollectifDataCrudController::class)
->setAction(Action::INDEX) ->setAction(Action::INDEX)
->set('status', 1) ->set('status', 1)
->set('menuIndex', 4) ->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) ->set('submenuIndex', 1)
->generateUrl(); ->generateUrl();


->set('submenuIndex', 0) ->set('submenuIndex', 0)
->generateUrl(); ->generateUrl();


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

$urlOnlineIndividuel = $this->adminUrlGenerator $urlOnlineIndividuel = $this->adminUrlGenerator
->setController(IndividualDataCrudController::class) ->setController(IndividualDataCrudController::class)
->setAction(Action::INDEX) ->setAction(Action::INDEX)
->set('status', 1) ->set('status', 1)
->set('menuIndex', 3) ->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) ->set('submenuIndex', 1)
->generateUrl(); ->generateUrl();



Loading…
Cancel
Save