Browse Source

[Administration] Menu principal : section "Fonctionnalités" disponible directement

feature/rotating_product
Guillaume Bourgeois 5 months ago
parent
commit
7e62de8454
1 changed files with 6 additions and 1 deletions
  1. +6
    -1
      backend/views/layouts/left.php

+ 6
- 1
backend/views/layouts/left.php View File

@@ -157,6 +157,12 @@ $isUserCurrentGrantedAsProducer = $userModule->getAuthorizationChecker()->isGran
'url' => ['order-admin/index'],
'visible' => $isUserCurrentGrantedAsAdministrator,
],
[
'label' => 'Fonctionnalités',
'icon' => 'flag',
'url' => ['/feature-admin/index'],
'visible' => $isUserCurrentGrantedAsAdministrator
],
[
'label' => 'Statistiques',
'icon' => 'line-chart',
@@ -182,7 +188,6 @@ $isUserCurrentGrantedAsProducer = $userModule->getAuthorizationChecker()->isGran
'visible' => $isUserCurrentGrantedAsAdministrator,
'items' => [
['label' => 'Paramètres', 'icon' => 'cog', 'url' => ['/setting-admin/index'], 'visible' => $isUserCurrentGrantedAsAdministrator && $featureChecker->isEnabled(Feature::ALIAS_SETTINGS)],
['label' => 'Fonctionnalités', 'icon' => 'flag', 'url' => ['/feature-admin/index'], 'visible' => $isUserCurrentGrantedAsAdministrator],
['label' => 'Tranches de prix', 'icon' => 'eur', 'url' => ['/producer-price-range-admin/index'], 'visible' => $isUserCurrentGrantedAsAdministrator],
['label' => 'Taxes', 'icon' => 'eur', 'url' => ['/tax-rate-admin/index'], 'visible' => $isUserCurrentGrantedAsAdministrator],
],

Loading…
Cancel
Save