refactor datatables admin

This commit is contained in:
Ludovic CANDELLIER
2023-08-29 23:31:15 +02:00
parent b1d16a7871
commit 470560efb6
37 changed files with 64 additions and 40 deletions

View File

@@ -13,10 +13,9 @@ class Customers
->activeIfRoute('customers')
->order(3);
$menu->addTo('customers', 'Clients', [ 'route' => 'Admin.Shop.Customers.index', 'permission' => 'backend_access' ])
->activeIfRoute(['Admin.Shop.Customers.*'])->order(1);
$menu->addTo('customers', 'Canaux de vente', [ 'route' => 'Admin.Shop.SaleChannels.index', 'permission' => 'backend_access' ])
->activeIfRoute(['Admin.Shop.SaleChannels.*'])->order(1);
$menu->addTo('customers', 'Clients', [
'route' => 'Admin.Shop.Customers.index',
'permission' => 'backend_access',
])->activeIfRoute(['Admin.Shop.Customers.*'])->order(1);
}
}