public function index() { $menusList = Menu::with(['children'])->where('menu_type', '!=', 0)->where('parent_id', null)->orderBy('position')->get(); return view('qa::menus.index', compact('menusList')); }