[WIP] Add modules to shop

This commit is contained in:
Ludovic CANDELLIER
2020-04-29 23:38:51 +02:00
parent 07eccc337b
commit 386625edc1
7 changed files with 89 additions and 15 deletions

View File

@@ -21,11 +21,15 @@ class Shop
->activeIfRoute(['Shop.Admin.Articles.*'])->order(2);
$menu->addTo('shop', 'Familles d\'articles', [ 'route' => 'Shop.Admin.ArticleFamilies.index', 'permission' => 'backend_access' ])
->activeIfRoute(['Shop.Admin.ArticleFamilies.*'])->order(3);
$menu->addTo('shop', 'Familles d\'attributs d\'articles', [ 'route' => 'Shop.Admin.ArticleAttributeFamilies.index', 'permission' => 'backend_access' ])
->activeIfRoute(['Shop.Admin.ArticleAttributeFamilies.*'])->order(4);
$menu->addTo('shop', 'Attributs d\'articles', [ 'route' => 'Shop.Admin.ArticleAttributes.index', 'permission' => 'backend_access' ])
->activeIfRoute(['Shop.Admin.ArticleAttributes.*'])->order(5);
$menu->addTo('shop', 'Commandes', [ 'route' => 'Shop.Admin.Orders.index', 'permission' => 'backend_access' ])
->activeIfRoute(['Shop.Admin.Orders.*'])->order(4);
->activeIfRoute(['Shop.Admin.Orders.*'])->order(6);
$menu->addTo('shop', 'Factures', [ 'route' => 'Shop.Admin.Invoices.index', 'permission' => 'backend_access' ])
->activeIfRoute(['Shop.Admin.Invoices.*'])->order(5);
->activeIfRoute(['Shop.Admin.Invoices.*'])->order(7);
}
}