<div class="horizontal-menu-wrapper">
        <div class="header-navbar navbar-expand-sm navbar navbar-horizontal floating-nav navbar-light navbar-without-dd-arrow navbar-shadow menu-border" role="navigation" data-menu="menu-wrapper">
            <div class="navbar-header">
                <ul class="nav navbar-nav flex-row">
                    <li class="nav-item mr-auto"><a class="navbar-brand" href="#">
                            <img style="margin-top: -20px;" src="{{ asset('backend/app-assets/images/logo/worldwise_shaglobal.jpeg') }}" width="120">
                            <h2 class="brand-text mb-0">T-M-S</h2>
                        </a></li>
                    <li class="nav-item nav-toggle"><a class="nav-link modern-nav-toggle pr-0" data-toggle="collapse"><i class="feather icon-x d-block d-xl-none font-medium-4 primary toggle-icon"></i><i class="toggle-icon feather icon-disc font-medium-4 d-none d-xl-block collapse-toggle-icon primary" data-ticon="icon-disc"></i></a></li>
                </ul>
            </div>
            <!-- Horizontal menu content-->
            <div class="navbar-container main-menu-content" data-menu="menu-container">
                <!-- include ../../../includes/mixins-->
                <ul class="nav navbar-nav" id="main-menu-navigation" data-menu="menu-navigation">
                    <li class="dropdown nav-item {{ (isset($menu) && $menu == 'dashboard')? 'active' : '' }}"><a class="nav-link" href="{{ url('home') }}"><i class="feather icon-home"></i><span data-i18n="Home">Home</span></a></li>

                    {{-- Hris Menu --}}
                    <li class="dropdown nav-item {{ (isset($menu) && $menu == 'hris')? 'active' : '' }}" data-menu="dropdown"><a class="dropdown-toggle nav-link" href="#" data-toggle="dropdown"><i class="fa fa-globe"></i><span data-i18n="Apps">HRIS</span></a>
                        <ul class="dropdown-menu">
                            @if(Auth::user()->role == 1)
                            <li><a class="dropdown-item {{ (isset($sub_menu) && $sub_menu == 'employee')? 'sub_active' : '' }}" href="{{ url('employee') }}" data-toggle="dropdown" data-i18n="employee"><i class="fa fa-users"></i>Employee</a></li>
                             <li><a class="dropdown-item {{ (isset($sub_menu) && $sub_menu == 'employee_deserved_holiday')? 'sub_active' : '' }}" href="{{ url('employee-deserved-holiday') }}" data-toggle="dropdown" data-i18n="employee"><i class="fa fa-users"></i>Employee Deserved Holiday</a></li>
                            @endif
                            <li><a class="dropdown-item {{ (isset($sub_menu) && $sub_menu == 'leave_application')? 'sub_active' : '' }}" href="{{ url('leave-application') }}" data-toggle="dropdown" data-i18n="leave_application"><i class="fa fa-paper-plane-o"></i>Holiday Application</a></li>
                        </ul>
                    </li>
                    @if(Auth::user()->role == 1)
                    {{-- Setting Menu --}}
                    <li class="dropdown nav-item {{ (isset($menu) && $menu == 'setting')? 'active' : '' }}" data-menu="dropdown"><a class="dropdown-toggle nav-link" href="#" data-toggle="dropdown"><i class="fa fa-cog"></i><span data-i18n="Apps">Settings</span></a>
                        <ul class="dropdown-menu">
                            <li><a class="dropdown-item {{ (isset($sub_menu) && $sub_menu == 'departments')? 'sub_active' : '' }}" href="{{ url('departments') }}" data-toggle="dropdown" data-i18n="departments"><i class="feather icon-user"></i>Department</a></li>
                            <li><a class="dropdown-item {{ (isset($sub_menu) && $sub_menu == 'project')? 'sub_active' : '' }}" href="{{ url('project') }}" data-toggle="dropdown" data-i18n="project"><i class="fa fa-list-alt"></i>Project</a></li>
                            <li><a class="dropdown-item {{ (isset($sub_menu) && $sub_menu == 'designation')? 'sub_active' : '' }}" href="{{ url('designation') }}" data-toggle="dropdown" data-i18n="designation"><i class="fa fa-bookmark"></i>Designation</a></li>
                            <li><a class="dropdown-item {{ (isset($sub_menu) && $sub_menu == 'notice_board')? 'sub_active' : '' }}" href="{{ url('notice-board') }}" data-toggle="dropdown" data-i18n="designation"><i class="ficon feather icon-bell"></i>Notice Board</a></li>
                        </ul>
                    </li>
                    @endif


                    <li class="dropdown nav-item {{ (isset($menu) && $menu == 'uploads_docs')? 'active' : '' }}"><a class="nav-link" href="{{ url('uploads_docs') }}"><i class="feather icon-upload"></i><span data-i18n="uploads_docs">Uploads Docs</span></a>
                    <li class="dropdown nav-item {{ (isset($menu) && $menu == 'task')? 'active' : '' }}"><a class="nav-link" href="{{ url('tasks') }}"><i class="feather icon-home"></i><span data-i18n="Task">Task</span></a>
                    <li class="dropdown nav-item {{ (isset($menu) && $menu == 'warning_letter')? 'active' : '' }}"><a class="nav-link" href="{{ url('warning_letter') }}"><i class="fa fa-exclamation-circle"></i><span data-i18n="warning_letter">Warning Letter</span></a>
                    @if(Auth::user()->role == 1 || Auth::user()->role == 4)
                    <li class="dropdown nav-item {{ (isset($menu) && $menu == 'report')? 'active' : '' }}" data-menu="dropdown"><a class="dropdown-toggle nav-link" href="#" data-toggle="dropdown"><i class="fa fa-filter"></i><span data-i18n="Apps">Report</span></a>
                        <ul class="dropdown-menu">
                            <li><a class="dropdown-item {{ (isset($sub_menu)     && $sub_menu == 'sign_in_out')? 'sub_active' : '' }}" href="{{ url('sign-in-out-report') }}" data-toggle="dropdown" data-i18n="sign_in_out"><i class="fa fa-sign-in"></i>Sign In/Out</a></li>
                            <li><a class="dropdown-item {{ (isset($sub_menu) && $sub_menu == 'over_due_tasks')? 'sub_active' : '' }}" href="{{ url('over-due-tasks') }}" data-toggle="dropdown" data-i18n="sign_in_out"><i class="fa fa-pie-chart"></i>Over Due Tasks</a></li>
                        </ul>
                    </li>
                    @endif
                    @if(Auth::user()->role != 2)
                        <li class="dropdown nav-item {{ (isset($menu) && $menu == 'leave_notify')? 'active' : '' }}"><a class="nav-link" href="{{ url('leave-application-notification') }}"><i style="{{ (isset($menu) && $menu == 'leave_notify')? 'color: #fff;' : '' }} " class="fa fa-paper-plane-o"></i><span data-i18n="uploads_docs">Holiday Application List</span></a>
                    @endif
                </ul>
            </div>
        </div>
    </div>