|
|
@@ -122,12 +122,12 @@ $userManager = $this->getUserManager(); |
|
|
|
[ |
|
|
|
'label' => 'Statistiques', |
|
|
|
'icon' => 'line-chart', |
|
|
|
'url' => ['/stats-admin/turnover'], |
|
|
|
'url' => ['/stats-admin/matomo'], |
|
|
|
'visible' => $userManager->isCurrentAdmin(), |
|
|
|
'items' => [ |
|
|
|
['label' => 'Matomo', 'icon' => 'line-chart', 'url' => ['/stats-admin/matomo'], 'visible' => $userManager->isCurrentAdmin()], |
|
|
|
['label' => 'Chiffre d\'affaire', 'icon' => 'line-chart', 'url' => ['/stats-admin/turnover'], 'visible' => $userManager->isCurrentAdmin()], |
|
|
|
['label' => 'Commandes clients', 'icon' => 'calendar', 'url' => ['/stats-admin/customer-orders'], 'visible' => $userManager->isCurrentAdmin()], |
|
|
|
['label' => 'Matomo', 'icon' => 'line-chart', 'url' => ['/stats-admin/matomo'], 'visible' => $userManager->isCurrentAdmin()], |
|
|
|
], |
|
|
|
], |
|
|
|
|