Botanic release

This commit is contained in:
Ludovic CANDELLIER
2020-04-21 19:52:11 +02:00
parent 4ad1f18310
commit e370174f94
10 changed files with 23 additions and 23 deletions

View File

@@ -14,14 +14,14 @@ class Shop
->activeIfRoute('shop')
->order(1);
$menu->addTo('shop', 'Categories', [ 'route' => 'Shop.Admin.Sections.index', 'permission' => 'backend' ])
->activeIfRoute(['Shop.Admin.Sections.index'])->order(5);
$menu->addTo('shop', 'Produits', [ 'route' => 'Shop.Admin.Products.index', 'permission' => 'backend' ])
->activeIfRoute(['Shop.Admin.Products.index'])->order(6);
$menu->addTo('shop', 'Categories', [ 'route' => 'Shop.Admin.Categories.index', 'permission' => 'backend' ])
->activeIfRoute(['Shop.Admin.Categories.index'])->order(1);
$menu->addTo('shop', 'Articles', [ 'route' => 'Shop.Admin.Articles.index', 'permission' => 'backend' ])
->activeIfRoute(['Shop.Admin.Articles.index'])->order(2);
$menu->addTo('shop', 'Commandes', [ 'route' => 'Shop.Admin.Orders.index', 'permission' => 'backend' ])
->activeIfRoute(['Shop.Admin.Orders.index'])->order(7);
->activeIfRoute(['Shop.Admin.Orders.index'])->order(3);
$menu->addTo('shop', 'Factures', [ 'route' => 'Shop.Admin.Invoices.index', 'permission' => 'backend' ])
->activeIfRoute(['Shop.Admin.Invoices.index'])->order(8);
->activeIfRoute(['Shop.Admin.Invoices.index'])->order(4);
}
}