Ask, reply and learn. Join the community of Akaunting.
Hello,
I've added new menu item but it shows up at the very top of navbar. How can I display it on specific order. And plus how can I add icon to it?
$event->menu->dropdown('Depo', function($menu) {
$menu->dropdown('Stok', function ($sub) {
$sub->url('modules/warehouse/water', 'Deniz Yolu Depo');
$sub->url('modules/warehouse/air', 'Hava Yolu Depo');
});
});
Hello Magsud,
Try this one:
$event->menu->dropdown('Depo', function($menu) {
$menu->dropdown('Stok', function ($sub) {
$sub->url('modules/warehouse/water', 'Deniz Yolu Depo');
$sub->url('modules/warehouse/air', 'Hava Yolu Depo');
}, 1);
}, 5);
Regards
Hello, unfortunately it didn't work.
Hello,
It works fine for the core:
https://github.com/akaunting/akaunting/blob/master/app/Listeners/Menu/AddAdminItems.php#L53
Regards
Showing 1 to 4 of 4 discussions