@php $menus = getMenus("parent"); @endphp @foreach($menus as $key => $menu) {{ __($menu->lang_name)}} @if($menu->childs->count() > 0) @foreach($menu->childs as $child) @if($child->childs->count() > 0) @if(userPermission($child->route)) @if(!empty($child->module)) @if(moduleStatusCheck($child->module)) @includeIf('backEnd.menu.parent_sub_menu',['menu' => $menu,'child' => $child]) @endif @else @includeIf('backEnd.menu.parent_sub_menu',['menu' => $menu,'child' => $child]) @endif @endif @else @if(userPermission($child->route)) @if($child->route == 'my_children') {{-- childs --}} @includeIf('backEnd.menu.parent_children_menu',compact('children','child')) @else @if($child->route == 'fees.student-fees-list') {{-- Fees --}} @includeIf('backEnd.menu.parent_children_menu',compact('children','child')) @else @if($child->route == 'parent_class_routine') {{-- Class Routine --}} @includeIf('backEnd.menu.parent_children_menu',compact('children','child')) @else @if($child->route == 'parent_homework') {{-- Class Homework --}} @includeIf('backEnd.menu.parent_children_menu',compact('children','child')) @else @if($child->route == 'parent_attendance') {{-- Class Homework --}} @includeIf('backEnd.menu.parent_children_menu',compact('children','child')) @else @if($child->route == 'parent_subjects') {{-- Parent Subjects --}} @includeIf('backEnd.menu.parent_children_menu',compact('children','child')) @else @if($child->route == 'parent_teacher_list') {{-- Parent Teacers --}} @includeIf('backEnd.menu.parent_children_menu',compact('children','child')) @else @if($child->route == 'parent_transport') {{-- Parent Transport --}} @includeIf('backEnd.menu.parent_children_menu',compact('children','child')) @else @if($child->route == 'parent_dormitory_list') {{-- Parent Transport --}} @includeIf('backEnd.menu.parent_children_menu',compact('children','child')) @else @if($child->route == 'fees.student-fees-list-parent') {{-- Parent Fees 2 --}} @includeIf('backEnd.menu.parent_children_menu',compact('children','child')) @else
  • route }} main">
  • @endif @endif @endif @endif @endif @endif @endif @endif @endif @endif @endif @endif @endforeach @endif @endforeach