<div class="sidebar">
    <nav class="sidebar-nav">

        <ul class="nav">
            <li class="nav-item">
                <a href="<?php echo e(route("admin.home")); ?>" class="nav-link">
                    <i class="nav-icon fas fa-fw fa-tachometer-alt">

                    </i>
                    <?php echo e(trans('global.dashboard')); ?>

                </a>
            </li>
            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('user_management_access')): ?>
                <li class="nav-item nav-dropdown">
                    <a class="nav-link  nav-dropdown-toggle" href="#">
                        <i class="fa-fw fas fa-users nav-icon">

                        </i>
                        <?php echo e(trans('cruds.userManagement.title')); ?>

                    </a>
                    <ul class="nav-dropdown-items">
                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('permission_access')): ?>
                            <li class="nav-item">
                                <a href="<?php echo e(route("admin.permissions.index")); ?>" class="nav-link <?php echo e(request()->is('admin/permissions') || request()->is('admin/permissions/*') ? 'active' : ''); ?>">
                                    <i class="fa-fw fas fa-unlock-alt nav-icon">

                                    </i>
                                    <?php echo e(trans('cruds.permission.title')); ?>

                                </a>
                            </li>
                        <?php endif; ?>
                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('role_access')): ?>
                            <li class="nav-item">
                                <a href="<?php echo e(route("admin.roles.index")); ?>" class="nav-link <?php echo e(request()->is('admin/roles') || request()->is('admin/roles/*') ? 'active' : ''); ?>">
                                    <i class="fa-fw fas fa-briefcase nav-icon">

                                    </i>
                                    <?php echo e(trans('cruds.role.title')); ?>

                                </a>
                            </li>
                        <?php endif; ?>
                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('user_access')): ?>
                            <li class="nav-item">
                                <a href="<?php echo e(route("admin.users.index")); ?>" class="nav-link <?php echo e(request()->is('admin/users') || request()->is('admin/users/*') ? 'active' : ''); ?>">
                                    <i class="fa-fw fas fa-user nav-icon">

                                    </i>
                                    <?php echo e(trans('cruds.user.title')); ?>

                                </a>
                            </li>
                        <?php endif; ?>
                    </ul>
                </li>
            <?php endif; ?>
           
            <!-- <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('subject_access')): ?>
                <li class="nav-item">
                    <a href="<?php echo e(route("admin.subjects.index")); ?>" class="nav-link <?php echo e(request()->is('admin/subjects') || request()->is('admin/subjects/*') ? 'active' : ''); ?>">
                        <i class="fa-fw fas fa-book nav-icon">

                        </i>
                        <?php echo e(trans('cruds.subject.title')); ?>

                    </a>
                </li>
            <?php endif; ?> -->
            
            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('finance_access')): ?>
                        <li class="nav-item">
                            <a href="<?php echo e(route('admin.get_registered_organization')); ?>" class="nav-link <?php echo e(request()->is('admin/finances') || request()->is('admin/finances/*') ? 'active' : ''); ?>">
                                <i class="fa-fw fas fa-user nav-icon">

                                </i>
                                 Orgnizations
                            </a>
                        </li>
             <?php endif; ?>

            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('customer_access')): ?>
                        <li class="nav-item">
                            <a href="<?php echo e(route('admin.get_registered_customer')); ?>" class="nav-link <?php echo e(request()->is('admin/customers') || request()->is('admin/customers/*') ? 'active' : ''); ?>">
                                <i class="fa-fw fas fa-user nav-icon">

                                </i>
                                 Customers
                            </a>
                        </li>
             <?php endif; ?>

             <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('collector_access')): ?>
                        <li class="nav-item">
                            <a href="<?php echo e(route('admin.get_registered_collector')); ?>" class="nav-link <?php echo e(request()->is('admin/collectors') || request()->is('admin/collectors/*') ? 'active' : ''); ?>">
                                <i class="fa-fw fas fa-user nav-icon">

                                </i>
                                 Collectors
                            </a>
                        </li>
             <?php endif; ?>

             <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('transaction_access')): ?>
                        <li class="nav-item">
                            <a href="<?php echo e(route('admin.get_transaction')); ?>" class="nav-link <?php echo e(request()->is('admin/transactions') || request()->is('admin/transactions/*') ? 'active' : ''); ?>">
                                <i class="fa-fw fas fa-book nav-icon">

                                </i>
                                 Transactions
                            </a>
                        </li>
             <?php endif; ?>

            <?php if(file_exists(app_path('Http/Controllers/Auth/ChangePasswordController.php'))): ?>
                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('profile_password_edit')): ?>
                    <li class="nav-item">
                        <a class="nav-link <?php echo e(request()->is('profile/password') || request()->is('profile/password/*') ? 'active' : ''); ?>" href="<?php echo e(route('profile.password.edit')); ?>">
                            <i class="fa-fw fas fa-key nav-icon">
                            </i>
                            <?php echo e(trans('global.change_password')); ?>

                        </a>
                    </li>
                <?php endif; ?>
            <?php endif; ?>
            <li class="nav-item">
                <a href="#" class="nav-link" onclick="event.preventDefault(); document.getElementById('logoutform').submit();">
                    <i class="nav-icon fas fa-fw fa-sign-out-alt">

                    </i>
                    <?php echo e(trans('global.logout')); ?>

                </a>
            </li>
        </ul>

    </nav>
    <button class="sidebar-minimizer brand-minimizer" type="button"></button>
</div><?php /**PATH /var/www/html/finance/resources/views/partials/menu.blade.php ENDPATH**/ ?>