<div class="side-menu">
    <div class='side-menu-body'>

        <ul>
            <li class="side-menu-divider m-t-0"></li>

            {{-- Dashboard --}}
            <li class="{{ $mainSuperAdminMenu == 'dashboard' ? 'open' : '' }}">
                <a href="{{ asset('dashboard') }}">
                    <i class="icon fa fa-globe"></i>
                    <span>{{ __('message.dashboard') }}</span>
                </a>
            </li>


            {{-- Enquiries --}}
            <?php if(Auth::user()->hasRole('superadmin') || Auth::user()->can('view-enquiry')){ ?>
            <li class="side-menu-divider m-t-10">{{ __('message.admission') }}  & {{ __('message.enquiry') }}</li>
            <li class="{{ $mainSuperAdminMenu == 'enquiries' ? 'open' : '' }}">
                <a href="{{ asset('enquiries') }}">
                    <i class="icon fa fa-users"></i>
                    <span>{{ __('message.enquiry') }}</span>
                </a>
            </li>
            <?php } ?>
            {{-- END Enquiries --}}


            {{-- Notice --}}
            <?php if(Auth::user()->hasRole('superadmin') || Auth::user()->can('view-notice')){ ?>

            <li class="{{ $mainSuperAdminMenu == 'notices' ? 'open' : '' }}">
                <a href="{{ asset('notices') }}">
                    <i class="icon fa fa-bell"></i>
                    <span>{{ __('message.notice') }}</span>
                </a>
            </li>
            <?php } ?>

            {{-- event --}}

            <?php if(Auth::user()->hasRole('superadmin') || Auth::user()->can('view-event')){ ?>

                <li class="{{ $mainSuperAdminMenu == 'event' ? 'open' : '' }}">
                    <a href="{{ asset('event') }}">
                        <i class="icon fa fa-bell"></i>
                        <span>{{ __('message.events') }}</span>
                    </a>
                </li>
                <?php } ?>

                {{-- trip --}}

                <?php if(Auth::user()->hasRole('superadmin') || Auth::user()->can('view-trip')){ ?>

                    <li class="{{ $mainSuperAdminMenu == 'trip' ? 'open' : '' }}">
                        <a href="{{ asset('trip') }}">
                            <i class="icon fa fa-bell"></i>
                            <span>{{ __('message.trips') }}</span>
                        </a>
                    </li>
                    <?php } ?>

                    {{-- policy --}}


                <?php if(Auth::user()->hasRole('superadmin') || Auth::user()->can('view-privacy')){ ?>

                    <li class="{{ $mainSuperAdminMenu == 'policy' ? 'open' : '' }}">
                        <a href="{{ asset('privacy') }}">
                            <i class="icon fa fa-bell"></i>
                            <span>{{ __('message.privacy_policy') }}</span>
                        </a>
                    </li>
                    <?php } ?>





            {{-- Feedback --}}

            <?php if(Auth::user()->hasRole('superadmin') || Auth::user()->can('view-feedback')){ ?>

                <li class="{{ $mainSuperAdminMenu == 'feedback' ? 'open' : '' }}">
                    <a href="{{ asset('feedback') }}">
                        <i class="icon fa fa-bell"></i>
                        <span>{{ __('message.feedback') }}</span>
                    </a>
                </li>
                <?php } ?>


            <?php if(Auth::user()->hasRole('superadmin') || Auth::user()->can('view-notification')){ ?>

                <li class="{{ $mainSuperAdminMenu == 'notification' ? 'open' : '' }}">
                    <a href="{{ asset('notification') }}">
                        <i class="icon fa fa-bell"></i>
                        <span>{{ __('message.notification') }}</span>
                    </a>
                </li>
                <?php } ?>

            {{-- END Enquiries --}}


            {{-- Admission --}}
            <?php if(Auth::user()->hasRole('superadmin') || Auth::user()->can('add-admission')){ ?>
            <li class="{{ $mainSuperAdminMenu == 'admission' ? 'open' : '' }}">
                <a href="#">
                    <i class="icon fa fa-institution active"></i>
                    <span>{{ __('message.admission') }}</span>
                </a>
                <ul>
                    <?php if(Auth::user()->hasRole('superadmin') || Auth::user()->can('add-admission')){ ?>
                    <li>
                        <a class="{{ $superadminSubMenu == 'add-admission' ? 'active' : '' }}"
                            href="{{ asset('admission/add') }}">{{ __('message.admitstudent') }}</a>
                    </li>
                    <?php } ?>

                    <?php if(Auth::user()->hasRole('superadmin') || Auth::user()->can('import-admission')){ ?>
                    <li>
                        <a class="{{ $superadminSubMenu == 'import-admission' ? 'active' : '' }}"
                            href="{{ asset('admission/import') }}">{{ __('message.bulkadmit') }} </a>
                    </li>
                    <?php } ?>
                </ul>
            </li>
            <?php } ?>
            {{-- END Admission --}}


            {{-- Students --}}
            <?php if(Auth::user()->hasRole('superadmin') || Auth::user()->can('view-student')){ ?>
            <li class="side-menu-divider m-t-10">{{ __('message.student') }} {{ __('message.management') }}</li>
            <li class="{{ $mainSuperAdminMenu == 'students' ? 'open' : '' }}">
                <a href="#">
                    <i class="icon fa fa-user active"></i>
                    <span>{{ __('message.student') }}</span>
                </a>
                <ul>
                    {{-- Student List --}}
                    <li>
                        <a class="{{ $superadminSubMenu == 'student-list' ? 'active' : '' }}"
                            href="{{ asset('students') }}">{{ __('message.student') }}</a>
                    </li>

                    <li>
                        <a class="{{ $superadminSubMenu == 'student-of-week-list' ? 'active' : '' }}"
                            href="{{ asset('students-of-week') }}">{{ __('message.studentofweek') }}</a>
                    </li>



                    <?php if(Auth::user()->hasRole('superadmin') || Auth::user()->can('view-diary')){ ?>
                        <li>
                            <a class="{{ $superadminSubMenu == 'diary-list' ? 'active' : '' }}"
                                href="{{ asset('diary') }}">{{ __('message.student') }} {{ __('message.diary') }}</a>
                        </li>
                        <?php } ?>



                    <?php if(Auth::user()->hasRole('superadmin') || Auth::user()->can('promote-student')){ ?>
                    <li>
                        <a class="{{ $superadminSubMenu == 'promote-student' ? 'active' : '' }}"
                            href="{{ asset('student/promote') }}">{{ __('message.promote') }}/{{ __('message.change') }}</a>
                    </li>
                    <?php } ?>

                    <?php if(Auth::user()->hasRole('superadmin') || Auth::user()->can('view-parents')){ ?>
                    <li>
                        <a class="{{ $superadminSubMenu == 'parents' ? 'active' : '' }}"
                            href="{{ asset('parents') }}">{{ __('message.parents') }}</a>
                    </li>
                    <?php } ?>

                </ul>
            </li>
            <?php } ?>


            {{-- Students --}}
            <?php if(Auth::user()->hasRole('superadmin') || Auth::user()->can('view-library')){ ?>
            <li class="side-menu-divider m-t-10">{{ __('message.library') }} {{ __('message.management') }}</li>
            <li class="{{ $mainSuperAdminMenu == 'library' ? 'open' : '' }}">
                <a href="#">
                    <i class="icon fa fa-user active"></i>
                    <span>{{ __('message.library') }}</span>
                </a>
                <ul>
                    {{-- Student List --}}


                    <?php if(Auth::user()->hasRole('superadmin') || Auth::user()->can('view-library')){ ?>
                    <li>
                        <a class="{{ $superadminSubMenu == 'library' ? 'active' : '' }}"
                            href="{{ asset('library-list') }}">{{ __('message.booklist') }}</a>
                    </li>
                    <?php } ?>

                    <?php if(Auth::user()->hasRole('superadmin') || Auth::user()->can('add-library')){ ?>
                    <li>
                        <a class="{{ $superadminSubMenu == 'addlibrary' ? 'active' : '' }}"
                            href="{{ asset('library/add') }}">{{ __('message.addbook') }}</a>
                    </li>
                    <?php } ?>

                    <?php if(Auth::user()->hasRole('superadmin') || Auth::user()->can('view-librarycard')){ ?>
                    <li>
                        <a class="{{ $superadminSubMenu == 'librarycard' ? 'active' : '' }}"
                            href="{{ asset('librarycard') }}">{{ __('message.librarycard') }}</a>
                    </li>
                    <?php } ?>

                    <?php if(Auth::user()->hasRole('superadmin') || Auth::user()->can('view-bookissue')){ ?>
                    <li>
                        <a class="{{ $superadminSubMenu == 'librarybookissue' ? 'active' : '' }}"
                            href="{{ asset('librarybookissue') }}">{{ __('message.bookissue') }}</a>
                    </li>
                    <?php } ?>

                    <?php //if(Auth::user()->hasRole('superadmin') || Auth::user()->can('view-book-request')){ ?>
                        <li>
                            <a class="{{ $superadminSubMenu == 'bookrequest' ? 'active' : '' }}"
                                href="{{ asset('book-request') }}">{{ __('message.bookrequest') }}</a>
                        </li>
                        <?php //} ?>


                    <?php if(Auth::user()->hasRole('superadmin') || Auth::user()->can('view-elibrary')){ ?>
                    <li>
                        <a class="{{ $superadminSubMenu == 'elibrary' ? 'active' : '' }}"
                            href="{{ asset('elibrary-list') }}">{{ __('message.elibrary') }}</a>
                    </li>
                    <?php } ?>







                </ul>
            </li>
            <?php } ?>

            {{-- assignments --}}

            <?php if(Auth::user()->hasRole('superadmin') || Auth::user()->can('view-assignment')){ ?>
                <li class="side-menu-divider m-t-10">{{ __('message.assignment') }} {{ __('message.management') }}</li>
                <li class="{{ $mainSuperAdminMenu == 'assignment' ? 'open' : '' }}">
                    <a href="#">
                        <i class="icon fa fa-user active"></i>
                        <span>{{ __('message.assignment') }}</span>
                    </a>
                    <ul>
                        {{-- Student List --}}


                        <?php if(Auth::user()->hasRole('superadmin') || Auth::user()->can('view-assignment')){ ?>
                        <li>
                            <a class="{{ $superadminSubMenu == 'assignment' ? 'active' : '' }}"
                                href="{{ asset('assignment-list') }}">{{ __('message.assignmentlist') }}</a>
                        </li>
                        <?php } ?>

                        <?php if(Auth::user()->hasRole('superadmin') || Auth::user()->can('add-assignment')){ ?>
                        <li>
                            <a class="{{ $superadminSubMenu == 'addassignment' ? 'active' : '' }}"
                                href="{{ asset('assignment/add') }}">{{ __('message.addassignment') }}</a>
                        </li>
                        <?php } ?>











                    </ul>
                </li>
                <?php } ?>



            {{-- exam module start here --}}

            <?php if(Auth::user()->hasRole('superadmin') || Auth::user()->can('view-exam-mark')){ ?>
            <li class="side-menu-divider m-t-10">{{ __('message.exam') }} {{ __('message.management') }}</li>
            <li class="{{ $mainSuperAdminMenu == 'exam_management' ? 'open' : '' }}">
                <a href="#">
                    <i class="icon fa fa-user active"></i>
                    <span>{{ __('message.exam') }}</span>
                </a>
                <ul>
                    {{-- Student List --}}


                    <?php if(Auth::user()->hasRole('superadmin') || Auth::user()->can('view-exam-mark')){ ?>
                    <li>
                        <a class="{{ $superadminSubMenu == 'exam' ? 'active' : '' }}"
                            href="{{ asset('exam-list') }}">{{ __('message.exam') }}</a>
                    </li>

                    <li>
                        <a class="{{ $superadminSubMenu == 'examReport' ? 'active' : '' }}"
                            href="{{ asset('exam-report') }}">{{ __('message.examreport') }}</a>
                    </li>

                    <?php } ?>



                </ul>
            </li>
            <?php } ?>


            {{-- exam module ends here --}}

            <?php if(Auth::user()->hasRole('superadmin') || Auth::user()->can('add-class-period')){ ?>
            <li class="side-menu-divider m-t-10">{{ __('message.timetable') }} {{ __('message.management') }}</li>
            <li class="{{ $mainSuperAdminMenu == 'timetable' ? 'open' : '' }}">
                <a href="#">
                    <i class="icon fa fa-user active"></i>
                    <span>{{ __('message.timetable') }}</span>
                </a>
                <ul>
                    {{-- Student List --}}




                    <?php if(Auth::user()->hasRole('superadmin') || Auth::user()->can('add-class-period')){ ?>
                    <li>
                        <a class="{{ $superadminSubMenu == 'addclassperiod' ? 'active' : '' }}"
                            href="{{ asset('classperiod/add') }}">{{ __('message.addclassperiod') }}</a>
                    </li>
                    <?php} ?>

                    <?php if(Auth::user()->hasRole('superadmin') || Auth::user()->can('class-teacher-list')){ ?>
                    <li>
                        <a class="{{ $superadminSubMenu == 'classteacher' ? 'active' : '' }}"
                            href="{{ asset('classteacher-list') }}">{{ __('message.classteacherlist') }} </a>
                    </li>
                    <?php } ?>

                    <?php if(Auth::user()->hasRole('superadmin') || Auth::user()->can('add-time-table')){ ?>
                    <li>
                        <a class="{{ $superadminSubMenu == 'addtimetable' ? 'active' : '' }}"
                            href="{{ asset('timetable/add') }}">{{ __('message.addtimetable') }} </a>
                    </li>
                    <?php } ?>
                    <?php if(Auth::user()->hasRole('superadmin') || Auth::user()->can('time-table-list')){ ?>
                    <li>
                        <a class="{{ $superadminSubMenu == 'timetablelist' ? 'active' : '' }}"
                            href="{{ asset('timetable-list') }}">{{ __('message.timetablelist') }} </a>
                    </li>
                    <?php } ?>

                    <?php if(Auth::user()->hasRole('superadmin') || Auth::user()->can('teachcer-time-table')){ ?>
                    <li>
                        <a class="{{ $superadminSubMenu == 'teachertimetablelist' ? 'active' : '' }}"
                            href="{{ asset('teacher-timetable-list') }}">{{ __('message.teachertimetable') }} </a>
                    </li>
                    <?php }} ?>



                </ul>
            </li>
            <?php } ?>



              {{-- exam module start here --}}

              <?php if(Auth::user()->hasRole('superadmin') || Auth::user()->can('view-vechile')){ ?>
                <li class="side-menu-divider m-t-10">{{ __('message.transport') }} {{ __('message.management') }}</li>
                <li class="{{ $mainSuperAdminMenu == 'transport_management' ? 'open' : '' }}">
                    <a href="#">
                        <i class="icon fa fa-user active"></i>
                        <span>{{ __('message.transport') }}</span>
                    </a>
                    <ul>
                        {{-- Student List --}}


                        <?php if(Auth::user()->hasRole('superadmin') || Auth::user()->can('view-vechile')){ ?>
                        <li>
                            <a class="{{ $superadminSubMenu == 'vechile' ? 'active' : '' }}"
                                href="{{ asset('vechile-list') }}">{{ __('message.vechiles') }}</a>
                        </li>
                        <?php } ?>

                        <?php if(Auth::user()->hasRole('superadmin') || Auth::user()->can('view-driver')){ ?>
                        <li>
                            <a class="{{ $superadminSubMenu == 'drivers' ? 'active' : '' }}"
                                href="{{ asset('driver-list') }}">{{ __('message.drivers') }}</a>
                        </li>
                        <?php } ?>

                        <?php if(Auth::user()->hasRole('superadmin') || Auth::user()->can('view-route')){ ?>
                        <li>
                            <a class="{{ $superadminSubMenu == 'route' ? 'active' : '' }}"
                                href="{{ asset('busroute-list') }}">{{ __('message.routes') }}</a>
                        </li>
                        <?php } ?>





                    </ul>
                </li>
                <?php } ?>


                {{-- exam module ends here --}}






            {{-- Master DB 1 --}}
            <li class="side-menu-divider m-t-10">{{ __('message.masterdb') }} {{ __('message.management') }}</li>
            <?php if(Auth::user()->hasRole('superadmin') || Auth::user()->can('report-testresult')){ ?>
            {{-- Test Management --}}
            <li class="{{ $mainSuperAdminMenu == 'testresult_management' ? 'open' : '' }}">
                {{-- <a href="#">
                    <i class="icon fa fa-newspaper-o active"></i>
                    <span>Test Management</span>
                </a> --}}
                <ul>
                    {{-- Student Attendance --}}
                    <?php if(Auth::user()->hasRole('superadmin') || Auth::user()->can('import-testresult')){ ?>
                    {{-- <li>
                        <a class="{{ $superadminSubMenu == 'import' ? 'active' : '' }}"
                            href="{{ asset('testresult/import') }}">Import Results</a>
                    </li> --}}
                    <?php } ?>

                    {{-- <li>
                        <a class="{{ $superadminSubMenu == 'report' ? 'active' : '' }}"
                            href="{{ asset('testresult/report') }}">Test Results</a>
                    </li>
                    <li>
                        <a class="{{ $superadminSubMenu == 'testreport' ? 'active' : '' }}"
                            href="{{ asset('testresult/test-report') }}">Test Report</a>
                    </li>
                    <li>
                        <a class="{{ $superadminSubMenu == 'testreport-individuals' ? 'active' : '' }}"
                            href="{{ asset('testresult/test-report-individuals') }}">Test Report 2</a>
                    </li> --}}

                </ul>
            </li>
            <?php } ?>

            {{-- Attendance Management --}}
            <?php if(Auth::user()->hasRole('superadmin') || Auth::user()->can('view-student-attendance')){ ?>

            <li class="{{ $mainSuperAdminMenu == 'attendance_management' ? 'open' : '' }}">
                <a href="#">
                    <i class="icon fa fa-leaf active"></i>
                    <span>{{ __('message.manageattendance') }}</span>
                </a>
                <ul>
                    {{-- Student Attendance --}}
                    <li>
                        <a class="{{ $superadminSubMenu == 'student_attendance' ? 'active' : '' }}"
                            href="{{ asset('attendance/student') }}">{{ __('message.studentattendance') }}</a>
                    </li>

                    <?php if(Auth::user()->hasRole('superadmin') || Auth::user()->can('sheet-student-attendance')){ ?>
                    <li>
                        <a class="{{ $superadminSubMenu == 'attendance_sheet' ? 'active' : '' }}"
                            href="{{ asset('attendance/sheet') }}">{{ __('message.attendancesheet') }}</a>
                    </li>
                    <?php } ?>

                    {{-- <li>
                        <a class="{{ $superadminSubMenu == 'teacher_attendance' ? 'active' : '' }}"
                            href="{{ asset('attendance/teacher') }}">Teacher Attendance</a>
                    </li> --}}

                </ul>
            </li>
            <?php } ?>


            {{-- teacher attendance --}}

            <?php if(Auth::user()->hasRole('superadmin') || Auth::user()->can('view-teacher-attendance')){ ?>

                <li class="{{ $mainSuperAdminMenu == 'teacher_management' ? 'open' : '' }}">
                    <a href="#">
                        <i class="icon fa fa-leaf active"></i>
                        <span>{{ __('message.manageteacherattendance') }}</span>
                    </a>
                    <ul>
                        {{-- teacher Attendance --}}
                        <li>
                            <a class="{{ $superadminSubMenu == 'teacher_attendance' ? 'active' : '' }}"
                                href="{{ asset('attendance/teacher') }}">{{ __('message.teacherattendance') }}</a>
                        </li>

                        <?php if(Auth::user()->hasRole('superadmin') || Auth::user()->can('sheet-teacher-attendance')){ ?>
                        <li>
                            <a class="{{ $superadminSubMenu == 'attendance_sheet' ? 'active' : '' }}"
                                href="{{ asset('teacher-attendance/sheet') }}">{{ __('message.teacherattendancesheet') }}</a>
                        </li>
                        <?php } ?>



                    </ul>
                </li>
                <?php } ?>



            {{-- Fees Master --}}
            <?php if(Auth::user()->hasRole('superadmin') || Auth::user()->can('view-fees_collect')){ ?>
            <li class="{{ $mainSuperAdminMenu == 'fees_management' ? 'open' : '' }}">
                <a href="#">
                    <i class="icon fa fa-money active"></i>
                    <span>{{ __('message.fees') }} {{ __('message.management') }}</span>
                </a>
                <ul>
                    {{-- Collect Fees --}}

                    <li>
                        <a class="{{ $superadminSubMenu == 'fees_collect' ? 'active' : '' }}"
                            href="{{ asset('fees_collect') }}">{{ __('message.collectfees') }}</a>
                    </li>


                    {{-- Generate & Assign Fees --}}
                    <?php if(Auth::user()->hasRole('superadmin') || Auth::user()->can('view-fees_masters')){ ?>
                    <li><a class="{{ $superadminSubMenu == 'fees_masters' ? 'active' : '' }}"
                            href="{{ asset('fees_masters') }}">{{ __('message.feesmaster') }}</a>
                    </li>
                    <?php } ?>

                    {{-- Fees Statement --}}
                    {{-- <?php if(Auth::user()->hasRole('superadmin') || Auth::user()->can('fees-statement')){ ?>
                    <li><a class="{{ $superadminSubMenu == 'fees_statement' ? 'active' : '' }}"
                            href="{{ asset('fees-statement') }}">Fees Statement</a>
                    </li>
                    <?php } ?> --}}

                    {{-- Balance Fees Report --}}
                    {{-- <?php if(Auth::user()->hasRole('superadmin') || Auth::user()->can('balance-fees-report')){ ?>
                    <li><a class="{{ $superadminSubMenu == 'balance_fees_report' ? 'active' : '' }}"
                            href="{{ asset('balance-fees-report') }}">Balance Fees Report</a>
                    </li>
                    <?php } ?> --}}

                    {{-- Search Due Fees --}}
                    {{-- <?php if(Auth::user()->hasRole('superadmin') || Auth::user()->can('search-due-fees')){ ?>
                    <li><a class="{{ $superadminSubMenu == 'search_due_fees' ? 'active' : '' }}"
                            href="{{ asset('search-due-fees') }}">Search Due Fees</a>
                    </li>
                    <?php } ?> --}}

                    {{-- Fees Type --}}
                    <?php if(Auth::user()->hasRole('superadmin') || Auth::user()->can('view-fees_type')){ ?>
                    <li>
                        <a class="{{ $superadminSubMenu == 'fees_types' ? 'active' : '' }}"
                            href="{{ asset('fees_types') }}">{{ __('message.feestype') }}</a>
                    </li>
                    <?php } ?>
                </ul>
            </li>
            <?php } ?>

            {{-- Master --}}
            <li class="{{ $mainSuperAdminMenu == 'master' ? 'open' : '' }}">
                <a href="javascript:;">
                    <i class="icon fa fa-pagelines active"></i>
                    <span>{{ __('message.masterdatabase') }}</span>
                </a>
                <ul>

                    <?php if(Auth::user()->hasRole('superadmin') || Auth::user()->can('view-session')){ ?>
                    <li>
                        <a class="{{ $superadminSubMenu == 'session' ? 'active' : '' }}"
                            href="{{ asset('session') }}">{{ __('message.session') }}</a>
                    </li>
                    <?php } ?>

                    {{-- School --}}
                    <?php if(Auth::user()->hasRole('superadmin') || Auth::user()->can('view-school')){ ?>
                    <li>
                        <a class="{{ $superadminSubMenu == 'schools' ? 'active' : '' }}"
                            href="{{ asset('schools') }}">{{ __('message.school') }} / {{ __('message.centers') }}</a>
                    </li>
                    <?php } ?>
                    {{-- Class --}}
                    <?php if(Auth::user()->hasRole('superadmin') || Auth::user()->can('view-class')){ ?>
                    <li>
                        <a class="{{ $superadminSubMenu == 'classes' ? 'active' : '' }}"
                            href="{{ asset('classes') }}">{{ __('message.class') }} & {{ __('message.section') }}</a>
                    </li>
                    <?php } ?>




                    <?php if(Auth::user()->hasRole('superadmin') || Auth::user()->can('view-gallery')){ ?>
                    <li>
                        <a class="{{ $superadminSubMenu == 'gallery' ? 'active' : '' }}"
                            href="{{ asset('gallery') }}">{{ __('message.gallery') }}</a>
                    </li>
                    <?php } ?>



                    <?php if(Auth::user()->hasRole('superadmin') || Auth::user()->can('view-exam-type')){ ?>
                    <li>
                        <a class="{{ $superadminSubMenu == 'exam-type' ? 'active' : '' }}"
                            href="{{ asset('exam-type-list') }}">{{ __('message.examtype') }}</a>
                    </li>
                    <?php } ?>


                    <?php if(Auth::user()->hasRole('superadmin') || Auth::user()->can('view-vendors')){ ?>
                    <li>
                        <a class="{{ $superadminSubMenu == 'vendors' ? 'active' : '' }}"
                            href="{{ asset('vendors') }}">{{ __('message.vendors') }}</a>
                    </li>
                    <?php } ?>


                    <?php if(Auth::user()->hasRole('superadmin') || Auth::user()->can('view-subject')){ ?>
                    <li>
                        <a class="{{ $superadminSubMenu == 'subject' ? 'active' : '' }}"
                            href="{{ asset('subject') }}">{{ __('message.subject') }}</a>
                    </li>
                    <?php } ?>


                    <?php if(Auth::user()->hasRole('superadmin') || Auth::user()->can('view-teacher')){ ?>
                    <li>
                        <a class="{{ $superadminSubMenu == 'teacher' ? 'active' : '' }}"
                            href="{{ asset('teacher') }}">{{ __('message.teacher') }}</a>
                    </li>


                    <?php } ?>

                    <?php if(Auth::user()->hasRole('superadmin') || Auth::user()->can('view-document-type')){ ?>
                    <li>
                        <a class="{{ $superadminSubMenu == 'documents_types' ? 'active' : '' }}"
                            href="{{ asset('document-type') }}">{{ __('message.documenttype') }}</a>
                    </li>


                    <?php } ?>


                    <?php if(Auth::user()->hasRole('superadmin') || Auth::user()->can('view-assignteacher')){ ?>
                    <li>
                        <a class="{{ $superadminSubMenu == 'assignteacher' ? 'active' : '' }}"
                            href="{{ asset('assignteacher') }}">{{ __('message.assignteacher') }}</a>
                    </li>


                    <?php } ?>







                </ul>
            </li>


            {{-- Users Roles & Permissions --}}
            <?php if(Auth::user()->hasRole('superadmin') || Auth::user()->can('view-user')){ ?>
            <li class="side-menu-divider m-t-10">{{ __('message.user_roles_permission') }}</li>
            <li class="{{ $mainSuperAdminMenu == 'users' ? 'open' : '' }}">
                <a href="{{ asset('users') }}">
                    <i class="icon fa fa-user-circle-o"></i>
                    <span>{{ __('message.users') }}</span>
                </a>
            </li>
            <?php } ?>

            {{-- roles --}}
            <?php if(Auth::user()->hasRole('superadmin') || Auth::user()->can('view-role')){ ?>
            <li class="{{ $mainSuperAdminMenu == 'roles' ? 'open' : '' }}">
                <a href="{{ asset('roles') }}">
                    <i class="icon fa fa-archive"></i>
                    <span>{{ __('message.role') }}</span>
                </a>
            </li>
            <?php } ?>

            {{-- Logs --}}
            <?php if(Auth::user()->hasRole('superadmin') || Auth::user()->can('log')){ ?>
            <li class="{{ $mainSuperAdminMenu == 'logs' ? 'open' : '' }}">
                <a href="{{ asset('logs') }}">
                    <i class="icon fa fa-bullseye"></i>
                    <span>Logs</span>
                </a>
            </li>
            <?php } ?>









        </ul>


    </div>
</div>
