<?php 

    // Menu active class add
    if (! function_exists('activeMenu')) {
        function activeMenu($sig, $data){
            return (Request::segment($sig) == $data)?'active':'';
        }
    }
    // Menu menu open class add
    if (! function_exists('menuOpenActive')) {
        function menuOpenActive($sig, $data, $active=false){
            if (is_array($data)) {
                for ($x = 0; $x < count($data); $x++) {
                    if (Request::segment($sig) == $data[$x]) {
                        if ($active) {
                            return 'active';
                        }else{
                            return 'menu-open';
                        }

                    }
                }
            }else{
                return (Request::segment($sig) == $data)?'menu-open':'';
            }
        }
    }

?>

<div id="sidebar-wrapper" class="bg-dark border-right  d-lg-block ">
            <div class="sidebar-heading text-white p-3">
                <a href="<?php echo e(url('mis-report')); ?>" class="brand-link top_title">
                    <span class="w-100"><img style="margin: 0 auto; max-height:40px " class="d-block"
                            src="./assets/img/logo.png"></span>
                    
                </a>
            </div>

            <ul id="sidebarAccordion">

                <!-- Logout -->
                <li>
                    <a href="<?php echo e(url('/')); ?>" class="nav-link">
                        <i class="fas fa-home"></i>
                        <span>Modules</span>
                    </a>
                </li>



                <li>
                    <a href="<?php echo e(url('mis-report')); ?>" class="nav-link active">
                        <i class="fas fa-tachometer-alt"></i>
                        <span>Dashboard</span>
                    </a>
                </li>

                <li class="treeview">
                    <a href="#" class="nav-link dropdown-toggle">
                        <i class="nav-icon far fa-clock"></i>
                        <span>Hr Report</span>
                        <i class="fas fa-chevron-down float-end"></i>
                    </a>
                    <ul class="collapse list-unstyled">
                        <li><a href="#" class="nav-link ps-3"><i class="fas fa-circle"></i> Report 1</a></li>
                        <li><a href="#" class="nav-link ps-3"><i class="fas fa-circle"></i> Report 2</a></li>
                    </ul>
                </li>

                <li class="treeview">
                    <a href="#" class="nav-link dropdown-toggle">
                        <i class="nav-icon far fa-clock"></i>
                        <span>Inventory Report</span>
                        <i class="fas fa-chevron-down float-end"></i>
                    </a>
                    <ul class="collapse list-unstyled">
                        <li><a href="#" class="nav-link ps-3"><i class="fas fa-circle"></i> Report 1</a></li>
                        <li><a href="#" class="nav-link ps-3"><i class="fas fa-circle"></i> Report 2</a></li>
                    </ul>
                </li>


                <li class="treeview">
                    <a href="#" class="nav-link dropdown-toggle">
                        <i class="nav-icon far fa-clock"></i>
                        <span>Leave Report</span>
                        <i class="fas fa-chevron-down float-end"></i>
                    </a>
                    <ul class="collapse list-unstyled">
                        <li><a href="#" class="nav-link ps-3"><i class="fas fa-circle"></i> Report 1</a></li>
                        <li><a href="#" class="nav-link ps-3"><i class="fas fa-circle"></i> Report 2</a></li>
                    </ul>
                </li>


                <li class="treeview">
                    <a href="#" class="nav-link dropdown-toggle">
                        <i class="nav-icon far fa-clock"></i>
                        <span>Attendance Report</span>
                        <i class="fas fa-chevron-down float-end"></i>
                    </a>
                    <ul class="collapse list-unstyled">
                        <li><a href="#" class="nav-link ps-3"><i class="fas fa-circle"></i> Report 1</a></li>
                        <li><a href="#" class="nav-link ps-3"><i class="fas fa-circle"></i> Report 2</a></li>
                    </ul>
                </li>


                <li class="treeview">
                    <a href="#" class="nav-link dropdown-toggle">
                        <i class="nav-icon far fa-clock"></i>
                        <span>Asset Report</span>
                        <i class="fas fa-chevron-down float-end"></i>
                    </a>
                    <ul class="collapse list-unstyled">
                        <li><a href="#" class="nav-link ps-3"><i class="fas fa-circle"></i> Report 1</a></li>
                        <li><a href="#" class="nav-link ps-3"><i class="fas fa-circle"></i> Report 2</a></li>
                    </ul>
                </li>

                <li class="treeview">
                    <a href="#" class="nav-link dropdown-toggle">
                        <i class="nav-icon far fa-clock"></i>
                        <span>Canteen Report</span>
                        <i class="fas fa-chevron-down float-end"></i>
                    </a>
                    <ul class="collapse list-unstyled">
                        <li><a href="#" class="nav-link ps-3"><i class="fas fa-circle"></i> Report 1</a></li>
                        <li><a href="#" class="nav-link ps-3"><i class="fas fa-circle"></i> Report 2</a></li>
                    </ul>
                </li>


                <li class="treeview">
                    <a href="#" class="nav-link dropdown-toggle">
                        <i class="nav-icon far fa-clock"></i>
                        <span>Dormetory Report</span>
                        <i class="fas fa-chevron-down float-end"></i>
                    </a>
                    <ul class="collapse list-unstyled">
                        <li><a href="#" class="nav-link ps-3"><i class="fas fa-circle"></i> Report 1</a></li>
                        <li><a href="#" class="nav-link ps-3"><i class="fas fa-circle"></i> Report 2</a></li>
                    </ul>
                </li>
                <li class="treeview">
                    <a href="#" class="nav-link dropdown-toggle">
                        <i class="nav-icon far fa-clock"></i>
                        <span>Library Report</span>
                        <i class="fas fa-chevron-down float-end"></i>
                    </a>
                    <ul class="collapse list-unstyled">
                        <li><a href="#" class="nav-link ps-3"><i class="fas fa-circle"></i> Report 1</a></li>
                        <li><a href="#" class="nav-link ps-3"><i class="fas fa-circle"></i> Report 2</a></li>
                    </ul>
                </li>
                <li class="treeview">
                    <a href="#" class="nav-link dropdown-toggle">
                        <i class="nav-icon far fa-clock"></i>
                        <span>Training Report</span>
                        <i class="fas fa-chevron-down float-end"></i>
                    </a>
                    <ul class="collapse list-unstyled">
                        <li><a href="#" class="nav-link ps-3"><i class="fas fa-circle"></i> Report 1</a></li>
                        <li><a href="#" class="nav-link ps-3"><i class="fas fa-circle"></i> Report 2</a></li>
                    </ul>
                </li>



                <li class="treeview">
                    <a href="#" class="nav-link dropdown-toggle">
                        <i class="nav-icon far fa-clock"></i>
                        <span>Basic Information</span>
                        <i class="fas fa-chevron-down float-end"></i>
                    </a>
                    <ul class="collapse list-unstyled">
                        <li><a href="#" class="nav-link ps-3"><i class="fas fa-circle"></i> Info 1</a></li>
                    </ul>
                </li>

                <li class="treeview">
                    <a href="#" class="nav-link dropdown-toggle">
                        <i class="nav-icon far fa-clock"></i>
                        <span>Reports</span>
                        <i class="fas fa-chevron-down float-end"></i>
                    </a>
                    <ul class="collapse list-unstyled">
                        <li><a href="#" class="nav-link ps-3"><i class="fas fa-circle"></i> Report 1</a></li>
                        <li><a href="#" class="nav-link ps-3"><i class="fas fa-circle"></i> Report 2</a></li>
                    </ul>
                </li>
                
            </ul>



        </div><?php /**PATH C:\techuno\testing-laravel\resources\views/erp/mis-report/layouts/sidebar.blade.php ENDPATH**/ ?>