<aside class="sidebar" id="sidebar">
    <div class="sidebar-header">
        <div class="sidebar-logo">
            <a href="{{ route('admin.dashboard') }}" class="img-tag sidebar_logo">
                @include('backend.auth.backend_logo')
                <img class="half-logo" src="{{ company_fav_icon(@base_settings('company_icon')) }}" alt="Icon"
                    width="40">
            </a>
        </div>
        <button class="half-expand-toggle sidebar-toggle">
            <img src="{{ url('assets/images/icons/collapse-arrow.svg') }}" alt="">
        </button>
        <button class="close-toggle sidebar-toggle">
            <img src="{{ url('assets/images/icons/collapse-arrow.svg') }}" alt="">
        </button>
    </div>
    <div class="sidebar-menu">
        <div class="sidebar-menu-section">
            <ul class="sidebar-dropdown-menu parent-menu-list">
                @if (isMainCompany())
                    @include('saas::backend.sidebar.saas_sidebar')
                @else
                    <li class="sidebar-menu-item {{ menu_active_by_route(['admin.dashboard']) }}">
                        <a href="{{ route('admin.dashboard') }}"
                            class="parent-item-content {{ menu_active_by_route(['admin.dashboard']) }}">
                            <i class="las la-home"></i>
                            <span class="on-half-expanded">{{ _trans('common.Dashboard') }}</span>
                        </a>
                    </li>
                    @if (!isMainCompany() && isModuleActive('Saas') && config('app.mood') == 'Saas' && !env('APP_24hourworx') && isAdmin())
                        @include('saas::backend.sidebar.single_company_sidebar')
                    @endif
                    @if (env('TRAVEL'))
                        @include('travel::sidebar.travel_sidebar')
                    @endif
                    @include('backend.partials.sidebar.employee-menus')
                    @include('backend.partials.sidebar.evaluation-menus')
                    @include('backend.partials.sidebar.notice-board-menus')
                    @include('backend.partials.sidebar.attendance-menus')
                    @include('backend.partials.sidebar.leave-menus')
                    @include('backend.partials.sidebar.payroll-menus')
                    @include('backend.partials.sidebar.communication-menus')
                    @include('backend.partials.sidebar.office-work-menus')
                    @include('backend.partials.sidebar.report-menus')
                    @include('backend.partials.sidebar.account-menus')
                    @include('backend.partials.sidebar.setting-menus')
                @endif
            </ul>
        </div>
    </div>
</aside>
