@php
$menus = getMenus("student");
$paid_modules = ['Zoom','University','Gmeet','QRCodeAttendance','BBB','ParentRegistration','InAppLiveClass','AiContent','Lms','Certificate','Jitsi','WhatsappSupport','InfixBiometrics'];
@endphp
@foreach($menus as $key => $menu)
@if($menu->childs->count() > 0)
@foreach($menu->childs as $child)
@if($child->childs->count() > 0)
@if(userPermission($child->route))
@if(!empty($child->module) && in_array($child->module, $paid_modules))
@if(moduleStatusCheck($child->module))
@includeIf('backEnd.menu.student_sub_menu',['menu' => $menu,'child' => $child])
@endif
@else
@includeIf('backEnd.menu.student_sub_menu',['menu' => $menu,'child' => $child])
@endif
@endif
@else
@if(userPermission($child->route))
route }} main">
{{ !empty($child->lang_name) ? __($child->lang_name):$child->name }}
@endif
@endif
@endforeach
@endif
@endforeach
{{-- @if( userPermission("student-dashboard"))
{{ __('common.dashboard') }}
@endif
@if(isMenuAllowToShow("student-profile") && userPermission("student-profile"))
{{ __('student.my_profile') }}
@endif
@if(isMenuAllowToShow("fees.student-fees-list") && userPermission("fees.student-fees-list"))
{{ __('fees.fees') }}
@endif
@if(isMenuAllowToShow("wallet.my-wallet") && userPermission("wallet.my-wallet"))
{{ __('wallet::wallet.my_wallet') }}
@endif
@if(isMenuAllowToShow("student_class_routine") && userPermission("student_class_routine"))
{{ __('academics.class_routine') }}
@endif
@if(isMenuAllowToShow("download_center") && userPermission("download-center"))
{{ __('downloadCenter.download_center') }}
@endif
@if(isMenuAllowToShow("lesson_plan") && userPermission("lesson-plan"))
{{ __('lesson::lesson.lesson_plan') }}
@endif
@if(isMenuAllowToShow("student_homework") && userPermission("student_homework"))
{{ __('homework.homework_list') }}
@endif
@if(isMenuAllowToShow("download_center") && userPermission("download_center"))
{{ __('study.study_material') }}
@endif
@if(isMenuAllowToShow("student_my_attendance") && userPermission("student_my_attendance"))
{{ __('student.attendance') }}
@endif
@if(isMenuAllowToShow("leave") && userPermission("leave"))
{{ __('leave.leave') }}
@endif
@if(isMenuAllowToShow("chat") && userPermission("chat"))
{{ __('chat::chat.chat') }}
@endif
@if(isMenuAllowToShow("examination") && userPermission("examination"))
{{ __('exam.examinations') }}
@endif
@if(isMenuAllowToShow("student_noticeboard") && userPermission("student_noticeboard"))
{{ __('communicate.notice_board') }}
@endif
@if(isMenuAllowToShow("academic-calendar") && userPermission("academic-calendar"))
{{ __('communicate.calendar') }}
@endif
@if(isMenuAllowToShow("student_subject") && userPermission("student_subject"))
{{ __('common.subjects') }}
@endif
@if (!moduleStatusCheck('OnlineExam'))
@if(isMenuAllowToShow("online_exam") && userPermission("online_exam"))
{{ __('exam.online_exam') }}
@endif
@endif
@if(isMenuAllowToShow("student_teacher") && userPermission("student_teacher"))
{{ __('common.teacher') }}
@endif
@if(isMenuAllowToShow("student_transport") && userPermission("student_transport"))
{{ __('transport.transport') }}
@endif
@if(isMenuAllowToShow("library") && userPermission("library"))
{{ __('library.library') }}
@endif
@if(isMenuAllowToShow("student_dormitory") && userPermission("student_dormitory"))
{{ __('dormitory.dormitory') }}
@endif
@foreach($paid_modules as $module)
@includeIf(strtolower($module)."::menu.student")
@endforeach --}}