<div class="left-side">
    <div class="nav-collapse">
        <div class="collapse-head">
            <a class="title-tiny-middle text-700" role="button"><?php echo e(__('messages.menu')); ?></a>
        </div>
        <div class="collapse-item show">
            <a href="<?php echo e(route('super-admin.dashboard')); ?>"
               class="collapse-item-single title-small <?php echo e(Route::is('super-admin.dashboard') ? 'active' : ''); ?>"><i
                    class="dashboard-ico"></i><span class="menu-name"><?php echo e(__('messages.dashboard')); ?></span>
            </a>

            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->any(['user.list','role.list'])): ?>
                <div class="nav-collapse">
                    <div
                        class="collapse-head <?php echo e(Route::is('super-admin.users.index') || Route::is('super-admin.roles.index') || Route::is('super-admin.users.create') || Route::is('super-admin.roles.create') || Route::is('super-admin.users.edit') || Route::is('super-admin.roles.edit') || Route::is('super-admin.users.show')  ? 'active ' : ''); ?>">
                        <a class="title-small"
                           role="button"><i class="user-management-ico"></i><span
                                class="menu-name"><?php echo e(__('messages.user_management')); ?> </span></a>
                    </div>
                    <div
                        class="collapse-item <?php echo e(Route::is('super-admin.roles.index') || Route::is('super-admin.roles.create') || Route::is('super-admin.roles.edit') || Route::is('super-admin.users.index') || Route::is('super-admin.users.create') || Route::is('super-admin.users.edit') ? 'active ' : ''); ?>">
                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('user.list')): ?>
                            <a href="<?php echo e(route('super-admin.users.index')); ?>"
                               class="title-small <?php echo e(Route::is('super-admin.users.index') || Route::is('super-admin.users.create') || Route::is('super-admin.users.edit') ? 'active ' : ''); ?>"><span
                                    class="sub-menu-name"><?php echo e(__('messages.users')); ?></span></a>
                        <?php endif; ?>
                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('role.list')): ?>
                            <a href="<?php echo e(route('super-admin.roles.index')); ?>"
                               class="title-small <?php echo e(Route::is('super-admin.roles.index') || Route::is('super-admin.roles.create') || Route::is('super-admin.roles.edit') ? 'active ' : ''); ?>"><span
                                    class="sub-menu-name"><?php echo e(__('messages.role')); ?></span></a>
                        <?php endif; ?>
                    </div>
                </div>
            <?php endif; ?>
        </div>
    </div>
    <hr class="nav-collapse-separator"/>
    <div class="nav-collapse">
        <div class="collapse-head">
            <a class="title-tiny-middle text-700" role="button">
                <?php echo e(__('messages.apps')); ?>

            </a>
        </div>
        <div class="collapse-item show">
            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('employee.list')): ?>
                <div class="nav-collapse">
                    <div
                        class="collapse-head <?php echo e(Route::is('employees.index') || Route::is('employees.lifetime-history.index') || Route::is('employees.create') || Route::is('employees.lifetime-history.show') || Route::is('employees.edit') || Route::is('employees.show')  ? 'active ' : ''); ?>">
                        <a class="title-small text-500" role="button">
                            <i class="employee-management-ico"></i>
                            <span class=" menu-name"><?php echo e(__('messages.employee_management')); ?></span>
                        </a>
                    </div>

                    <div
                        class="collapse-item <?php echo e(Route::is('employees.index') || Route::is('employees.lifetime-history.index') || Route::is('employees.create') || Route::is('employees.lifetime-history.show') || Route::is('employees.edit') || Route::is('employees.show')  ? 'active ' : ''); ?> ">
                        <a href=" <?php echo e(route('employees.index')); ?>" class="title-small"><span
                                class="sub-menu-name <?php echo e(Route::is('employees.index') || Route::is('employees.create') || Route::is('employees.edit') || Route::is('employees.show') ? 'active ' : ''); ?>"><?php echo e(__('messages.employee_registration')); ?></span></a>
                        
                        <a href="#"
                           class="title-small <?php echo e(Route::is('employees.index') || Route::is('employees.lifetime-history.show') ? 'active ' : ''); ?>"><span
                                class="sub-menu-name"><?php echo e(__('messages.service_record')); ?></span></a>
                    </div>
                </div>
            <?php endif; ?>
        </div>
        


        <div class="collapse-item show">
            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->any(['schedule.list'])): ?>
                <div class="nav-collapse">
                    <div
                        class="collapse-head <?php echo e(Route::is('schedules.index')  ? 'active ' : ''); ?>">
                        <a class="title-small text-500" role="button">
                            <i class="employee-management-ico"></i>
                            <span class=" menu-name">
                                <?php echo e(__('messages.attendance_manage')); ?>

                            </span>
                        </a>
                    </div>

                    <div
                        class="collapse-item <?php echo e(Route::is('schedules.index') ? 'active ' : ''); ?> ">
                        <a href="<?php echo e(route('schedules.index')); ?>" class="title-small">
                            <span class="sub-menu-name <?php echo e(Route::is('schedules.index') ? 'active ' : ''); ?>">
                                <?php echo e(__('messages.schedules')); ?>

                            </span>
                        </a>
                        
                    </div>
                </div>
            <?php endif; ?>
        </div>


        



        <div class="collapse-item show">
            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->any(['leave.list','holiday.list','leave.leaveType'])): ?>
                <div class="nav-collapse">
                    <div
                        class="collapse-head <?php echo e(Route::is('leaves.index') || Route::is('holidays.index') || Route::is('leaves.leaveType')  ? 'active ' : ''); ?>">
                        <a class="title-small text-500" role="button">
                            <i class="employee-management-ico"></i>
                            <span class="menu-name">
                                <?php echo e(__('messages.allLeave')); ?> <?php echo e(__('messages.manage')); ?>

                            </span>
                        </a>
                    </div>

                    <div
                        class="collapse-item <?php echo e(Route::is('leaves.index') || Route::is('holidays.index') || Route::is('leaves.leave_type') ? 'active ' : ''); ?> ">

                        <a href="<?php echo e(route('holidays.index')); ?>" class="title-small">
                            <span class="sub-menu-name <?php echo e(Route::is('holidays.index') ? 'active ' : ''); ?>">
                                <?php echo e(__('messages.holiday')); ?>

                            </span>
                        </a>
                        <a href="<?php echo e(route('leaves.leave_type')); ?>" class="title-small">
                            <span class="sub-menu-name <?php echo e(Route::is('leaves.leave_type') ? 'active ' : ''); ?>">
                                <?php echo e(__('messages.leave')); ?> <?php echo e(__('messages.type')); ?>

                            </span>
                        </a>
                        <a href="<?php echo e(route('leaves.index')); ?>" class="title-small">
                            <span class="sub-menu-name <?php echo e(Route::is('leaves.index') ? 'active ' : ''); ?>">
                                <?php echo e(__('messages.leave')); ?> <?php echo e(__('messages.application')); ?>

                            </span>
                        </a>
                    </div>
                </div>
            <?php endif; ?>
        </div>

        
        <div class="collapse-item show">
            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->any(['hr_report.attendFilterMulti'])): ?>
                <div class="nav-collapse">
                    <div
                        class="collapse-head <?php echo e(Route::is('hr_reports.attendFilterMultis') || Route::is('hr_reports.attendStatusFilters')  ? 'active ' : ''); ?>">
                        <a class="title-small text-500" role="button">
                            <i class="employee-management-ico"></i>
                            <span class="menu-name">
                                
                                HR Reports
                            </span>
                        </a>
                    </div>

                    <div
                        class="collapse-item <?php echo e(Route::is('hr_reports.attendFilterMultis') || Route::is('hr_reports.attendStatusFilters') ? 'active ' : ''); ?> ">
                        <a href="<?php echo e(route('hr_reports.attendFilterMultis')); ?>" class="title-small">
                            <span class="sub-menu-name <?php echo e(Route::is('hr_reports.attendFilterMultis') ? 'active ' : ''); ?>">
                                
                                Attendance List Report
                            </span>
                        </a>

                        <a href="<?php echo e(route('hr_reports.attendStatusFilters')); ?>" class="title-small">
                            <span class="sub-menu-name <?php echo e(Route::is('hr_reports.attendStatusFilters') ? 'active ' : ''); ?>">
                                Day's Attendance Status
                            </span>
                        </a>
                    </div>
                </div>
            <?php endif; ?>
        </div>
        

    </div>


    <hr class="nav-collapse-separator"/>


    
        









    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->any(['action peremeter.view','organization.list'])): ?>

    <div class="nav-collapse">
        <div class="collapse-head">
            <a class="title-tiny-middle text-700" role="button">
                <a class="title-tiny-middle text-700" role="button"><?php echo e(__('messages.settings')); ?></a>
            </a>
        </div>
        <div class="collapse-item show">
            <div class="nav-collapse">

                <div
                    class="collapse-head <?php echo e(Route::is('organizations.index') || Route::is('action peremeter.view')  ? 'active ' : ''); ?>">

                    <a class="title-small text-500" role="button">
                        <i class="app-settings-ico"></i>
                        <span class=" menu-name"><?php echo e(__('messages.general_settings')); ?></span>
                    </a>

                </div>

                <div
                    class="collapse-item <?php echo e(Route::is('organizations.index') || Route::is('organizations.create') || Route::is('organizations.edit') || Route::is('organizations.show') || Route::is('action-perameters.index')  ? 'active ' : ''); ?> ">

                    
                    <a href="<?php echo e(route('organizations.index')); ?>" class="title-small">
                        <span class="sub-menu-name <?php echo e(Route::is('organizations.index') || Route::is('organizations.create') || Route::is('organizations.edit') || Route::is('organizations.show') ? 'active ' : ''); ?>"><?php echo e(__('messages.organizations')); ?></span>
                    </a>
                    

                    

                    

                </div>
            </div>
        </div>
    </div>
    <?php endif; ?>
</div>
<?php /**PATH /home/ussitbd/public_html/hr.ussitbd.com/resources/views/backend/partials/sidebar.blade.php ENDPATH**/ ?>