@use('App\Models\MenuItems') @php $menuItems = MenuItems::getParentMenuById(1)?->where('status', true); // === HIDDEN MENUS === // To show all menus again: comment the line below and uncomment the next line // $menuItems = $menuItems->whereNotIn('id', [6,7,8,9,57,58,59,60,61,62,63,64,65,66,67,68,69,70,81,82,83,89,90,92,93,95,96,97,105,106,107,108,109,110,111,112,113,115,116,117,118,119,120,121,122,123,124,130]); // $menuItems = $menuItems->whereNotIn('section', ["cabbooking::sidebar.price_management","sidebar.promotion_management","sidebar.setting_management","ticket::static.section"]); // cabbooking::sidebar.price_management // $menuItems = $menuItems; // Uncomment this line & comment the above line to show all menus // === END HIDDEN MENUS === $menuItems = $menuItems->groupBy('section'); @endphp
@push('scripts') @endpush