mirror of
https://github.com/InvoiceShelf/InvoiceShelf.git
synced 2026-04-19 03:04:05 +00:00
Refactor Administration entrypoint
We moved the administration item to the company switcher in the header
This commit is contained in:
@@ -90,6 +90,13 @@ class AppServiceProvider extends ServiceProvider
|
||||
}
|
||||
});
|
||||
|
||||
// admin menu (super admin mode)
|
||||
\Menu::make('admin_menu', function ($menu) {
|
||||
foreach (config('invoiceshelf.admin_menu') as $data) {
|
||||
$this->generateMenu($menu, $data);
|
||||
}
|
||||
});
|
||||
|
||||
// setting menu
|
||||
\Menu::make('setting_menu', function ($menu) {
|
||||
foreach (config('invoiceshelf.setting_menu') as $data) {
|
||||
|
||||
Reference in New Issue
Block a user