<!-- Brand Logo -->
<a href="{{ url('/') }}" class="brand-link {{ setLogoClass() }}">
    <img src="{{ asset('dist/img/user2-160x160.jpg') }}" alt="AdminLTE Logo" class="brand-image img-circle elevation-3"
         style="opacity: .8">
    <span class="brand-text font-weight-light">Well Group ERP 1.0</span>
</a>

<!-- Sidebar -->
<div class="sidebar nano">
    <!-- Sidebar user panel (optional) -->
    <div class="user-panel mt-3 pb-3 mb-3 d-flex">
        <div class="image">
            <img src="{{ asset('dist/img/user2-160x160.jpg') }}" class="img-circle elevation-2" alt="User Image">
        </div>
        <div class="info">
            <a href="{{ route('home') }}" class="d-block">Well Group</a>
        </div>
    </div>

    <!-- Sidebar Menu -->
    <nav class="mt-2">
        <ul class="nav nav-pills nav-sidebar flex-column" data-widget="treeview" role="menu" data-accordion="false">
            <!-- Add icons to the links using the .nav-icon class
                 with font-awesome or any other icon font library -->
            <li class="nav-item {{ isActive(['/','home']) }}">
                <a href="{{ action('DashboardController@index') }}" class="nav-link {{ isActive(['/','home']) }} main-menu">
                    <i class="nav-icon fas fa-tachometer-alt"></i>
                    <p>
                        Dashboard
                        {{--<span class="right badge badge-danger">New</span>--}}
                    </p>
                </a>
            </li>
            @if(isHimu())
                @include('includes.sidebar.purchase-himu')
                
            
            @else
                @include('includes.sidebar.purchase')
            @endif
            @php $active = ['change-password']; @endphp
            <li class="nav-item {{ isActive($active) }}">
                <a href="{{ url('change-password') }}" class="nav-link {{ isActive($active) }} main-menu">
                    <i class="nav-icon fas fa-key"></i>
                    <p> Change Password </p>
                </a>
            </li>

                    {{-- Settings Menu End --}}
                {{--</ul>
            </li>--}}

            {{-- Inventory UL Li End --}}

        </ul>
    </nav>
    <!-- /.sidebar-menu -->
</div>

