|
|
@@ -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], |
|
|
|
], |