<aside class="main-sidebar">
    <section class="sidebar" style="height: auto; width: auto;">

        <!-- Sidebar user panel (optional) -->
        <div class="user-panel">
            <div class="pull-left image">
                <img src="<?php echo e(asset(Auth::user()->profile->profile_image)); ?>" class="img-circle" alt="User Image">
            </div>
            <div class="pull-left info">
                <p><?php echo e(Auth::user()->name); ?></p>
                <!-- Status -->
                <a href="#"><i class="fa fa-circle text-success"></i> Online</a>
            </div>
        </div>

        <!-- search form (Optional) -->
        <form action="#" method="get" class="sidebar-form">
            <div class="input-group">
                <input type="text" name="q" class="form-control" placeholder="Search...">
                <span class="input-group-btn">
                <button type="submit" name="search" id="search-btn" class="btn btn-flat"><i class="fa fa-search"></i>
                </button>
              </span>
            </div>
        </form>
        <!-- /.search form -->

        <!-- Sidebar Menu -->
        <ul class="sidebar-menu tree" data-widget="tree">
            <h3></h3>

            <li>
                <a href="<?php echo e(route("admin.home")); ?>">
                    <i class="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="treeview">
                    <a href="#">
                        <i class="fa-fw fas fa-users">
                        </i>
                        <span><?php echo e(trans('cruds.userManagement.title')); ?></span>
                        <span class="pull-right-container"><i class="fa fa-fw fa-angle-left pull-right"></i></span>
                    </a>
                    <ul class="treeview-menu">
                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('permission_access')): ?>
                            <li class="<?php echo e(request()->is('admin/permissions') || request()->is('admin/permissions/*') ? 'active' : ''); ?>">
                                <a href="<?php echo e(route("admin.permissions.index")); ?>">
                                    <i class="fa-fw fas fa-unlock-alt">

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

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

                                    </i>
                                    <span><?php echo e(trans('cruds.user.title')); ?></span>
                                </a>
                            </li>
                        <?php endif; ?>
                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('audit_log_access')): ?>
                            <li class="<?php echo e(request()->is('admin/audit-logs') || request()->is('admin/audit-logs/*') ? 'active' : ''); ?>">
                                <a href="<?php echo e(route("admin.audit-logs.index")); ?>">
                                    <i class="fa-fw fas fa-file-alt">

                                    </i>
                                    <span><?php echo e(trans('cruds.auditLog.title')); ?></span>
                                </a>
                            </li>
                        <?php endif; ?>
                    </ul>
                </li>
            <?php endif; ?>
            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('profile_management_access')): ?>
                <li class="treeview">
                    <a href="#">
                        <i class="fa-fw fas fa-user-alt">

                        </i>
                        <span><?php echo e(trans('cruds.profileManagement.title')); ?></span>
                        <span class="pull-right-container"><i class="fa fa-fw fa-angle-left pull-right"></i></span>
                    </a>
                    <ul class="treeview-menu">
                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('my_profile_information_access')): ?>
                            <li class="<?php echo e(request()->is('admin/my-profile-informations') || request()->is('admin/my-profile-informations/*') ? 'active' : ''); ?>">
                                <a href="<?php echo e(route("admin.profile.index")); ?>">
                                    <i class="fa-fw far fa-user-circle">

                                    </i>
                                    <span><?php echo e(trans('cruds.myProfileInformation.title')); ?></span>
                                </a>
                            </li>
                        <?php endif; ?>










                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('change_password_access')): ?>
                            <li class="<?php echo e(request()->is('admin/change-passwords') || request()->is('admin/change-passwords/*') ? 'active' : ''); ?>">
                                <a href="<?php echo e(route("admin.change-passwords.index")); ?>">
                                    <i class="fa-fw fas fa-key">

                                    </i>
                                    <span><?php echo e(trans('cruds.changePassword.title')); ?></span>
                                </a>
                            </li>
                        <?php endif; ?>
                    </ul>
                </li>
            <?php endif; ?>
            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('financial_contribution_access')): ?>
                <li class="treeview">
                    <a href="#">
                        <i class="fa-fw fas fa-money-check">

                        </i>
                        <span><?php echo e(trans('cruds.financialContribution.title')); ?></span>
                        <span class="pull-right-container"><i class="fa fa-fw fa-angle-left pull-right"></i></span>
                    </a>
                    <ul class="treeview-menu">
                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('enrole_monthly_deposit_access')): ?>
                            <li class="<?php echo e(request()->is('admin/monthly-deposits') || request()->is('admin/monthly-deposits/*') ? 'active' : ''); ?>">
                                <a href="<?php echo e(route("admin.monthly-deposits.index")); ?>">
                                    <i class="fa-fw far fa-credit-card">

                                    </i>
                                    <span><?php echo e(trans('cruds.monthlyDeposit.title')); ?></span>
                                </a>
                            </li>
                        <?php endif; ?>
                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('project_contributions_access')): ?>
                                <li class="<?php echo e(request()->is('admin/project-contributions') || request()->is('admin/project-contributions/*') ? 'active' : ''); ?>">
                                    <a href="<?php echo e(route("admin.project-contributions.index")); ?>">
                                        <i class="fa-fw far fa-credit-card">

                                        </i>
                                        <span><?php echo e('Project Contributions'); ?></span>
                                    </a>
                                </li>
                            <?php endif; ?>










                    </ul>
                </li>
            <?php endif; ?>
            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('financial_manangement_access')): ?>
                <li class="treeview">
                    <a href="#">
                        <i class="fa-fw fas fa-money-check">

                        </i>
                        <span><?php echo e(trans('Financial Management ')); ?></span>
                        <span class="pull-right-container"><i class="fa fa-fw fa-angle-left pull-right"></i></span>
                    </a>
                    <ul class="treeview-menu">
                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('financial_manangement_access')): ?>
                            <li class="<?php echo e(request()->is('admin/enrole-monthly-deposits/all-pending') || request()->is('admin/enrole-monthly-deposits/all-pending/*') ? 'active' : ''); ?>">
                                <a href="<?php echo e(route("admin.monthly-deposits.listpending")); ?>">
                                    <i class="fa-fw far fa-credit-card">

                                    </i>
                                    <span><?php echo e('Monthly Deposit Pending Request'); ?></span>
                                </a>
                            </li>
                        <?php endif; ?>
                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('financial_manangement_access')): ?>
                            <li class="<?php echo e(request()->is('admin/enrole-monthly-deposits/all-approved') || request()->is('admin/enrole-monthly-deposits/all-pending/*') ? 'active' : ''); ?>">
                                <a href="<?php echo e(route("admin.monthly-deposits.listapproved")); ?>">
                                    <i class="fa-fw far fa-credit-card">

                                    </i>
                                    <span><?php echo e("Monthly Deposit Approved Request"); ?></span>
                                </a>
                            </li>
                        <?php endif; ?>
                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('financial_manangement_access')): ?>
                                <li class="<?php echo e(request()->is('admin/enrole-monthly-deposits/all-rejected') || request()->is('admin/enrole-monthly-deposits/all-rejected/*') ? 'active' : ''); ?>">
                                    <a href="<?php echo e(route("admin.monthly-deposits.listrejected")); ?>">
                                        <i class="fa-fw far fa-credit-card">

                                        </i>
                                        <span><?php echo e("Monthly Deposit Rejected Request"); ?></span>
                                    </a>
                                </li>
                            <?php endif; ?>
                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('financial_manangement_access')): ?>
                                <li class="<?php echo e(request()->is('admin/enrole-monthly-deposits/all') || request()->is('admin/enrole-monthly-deposits/all/*') ? 'active' : ''); ?>">
                                    <a href="<?php echo e(route("admin.monthly-deposits.listall")); ?>">
                                        <i class="fa-fw far fa-credit-card">

                                        </i>
                                        <span><?php echo e("All Monthly Deposit List"); ?></span>
                                    </a>
                                </li>
                            <?php endif; ?>


                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('financial_manangement_access')): ?>
                                <li class="<?php echo e(request()->is('admin/monthly-deposits') || request()->is('admin/monthly-deposits/*') ? 'active' : ''); ?>">
                                    <a href="<?php echo e(route("admin.monthly-deposits.index")); ?>">
                                        <i class="fa-fw far fa-credit-card">

                                        </i>
                                        <span><?php echo e('Project Deposit Pending Request'); ?></span>
                                    </a>
                                </li>
                            <?php endif; ?>
                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('financial_manangement_access')): ?>
                                <li class="<?php echo e(request()->is('admin/monthly-deposits') || request()->is('admin/monthly-deposits/*') ? 'active' : ''); ?>">
                                    <a href="<?php echo e(route("admin.monthly-deposits.listall")); ?>">
                                        <i class="fa-fw far fa-credit-card">

                                        </i>
                                        <span><?php echo e("Project Deposit Approved Request"); ?></span>
                                    </a>
                                </li>
                            <?php endif; ?>
                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('financial_manangement_access')): ?>
                                <li class="<?php echo e(request()->is('admin/contribution-histories') || request()->is('admin/contribution-histories/*') ? 'active' : ''); ?>">
                                    <a href="<?php echo e(route("admin.contribution-histories.index")); ?>">
                                        <i class="fa-fw fas fa-money-bill">

                                        </i>
                                        <span><?php echo e('All Project Deposit List'); ?></span>
                                    </a>
                                </li>
                            <?php endif; ?>
                    </ul>
                </li>
            <?php endif; ?>
            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('setting_access')): ?>
                <li class="treeview">
                    <a href="#">
                        <i class="fa-fw fas fa-wrench">

                        </i>
                        <span><?php echo e(trans('cruds.setting.title')); ?></span>
                        <span class="pull-right-container"><i class="fa fa-fw fa-angle-left pull-right"></i></span>
                    </a>
                    <ul class="treeview-menu">
                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('project_status_access')): ?>
                            <li class="<?php echo e(request()->is('admin/project-statuses') || request()->is('admin/project-statuses/*') ? 'active' : ''); ?>">
                                <a href="<?php echo e(route("admin.project-statuses.index")); ?>">
                                    <i class="fa-fw fab fa-steam">

                                    </i>
                                    <span><?php echo e(trans('cruds.projectStatus.title')); ?></span>
                                </a>
                            </li>
                        <?php endif; ?>
                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('user_status_access')): ?>
                            <li class="<?php echo e(request()->is('admin/user-statuses') || request()->is('admin/user-statuses/*') ? 'active' : ''); ?>">
                                <a href="<?php echo e(route("admin.user-statuses.index")); ?>">
                                    <i class="fa-fw far fa-user-circle">

                                    </i>
                                    <span><?php echo e(trans('cruds.userStatus.title')); ?></span>
                                </a>
                            </li>
                        <?php endif; ?>
                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('account_type_access')): ?>
                            <li class="<?php echo e(request()->is('admin/account-types') || request()->is('admin/account-types/*') ? 'active' : ''); ?>">
                                <a href="<?php echo e(route("admin.account-types.index")); ?>">
                                    <i class="fa-fw fab fa-first-order-alt">

                                    </i>
                                    <span><?php echo e(trans('cruds.accountType.title')); ?></span>
                                </a>
                            </li>
                        <?php endif; ?>
                    </ul>
                </li>
            <?php endif; ?>
            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('projects_management_access')): ?>
                <li class="treeview">
                    <a href="#">
                        <i class="fa-fw fas fa-hotel">

                        </i>
                        <span><?php echo e(trans('cruds.projectsManagement.title')); ?></span>
                        <span class="pull-right-container"><i class="fa fa-fw fa-angle-left pull-right"></i></span>
                    </a>
                    <ul class="treeview-menu">
                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('project_access')): ?>
                            <li class="<?php echo e(request()->is('admin/projects') || request()->is('admin/projects/*') ? 'active' : ''); ?>">
                                <a href="<?php echo e(route("admin.projects.index")); ?>">
                                    <i class="fa-fw fas fa-archway">

                                    </i>
                                    <span><?php echo e(trans('cruds.project.title')); ?></span>
                                </a>
                            </li>
                        <?php endif; ?>
                    </ul>
                </li>
            <?php endif; ?>

            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('notice_management_access')): ?>
                <li class="treeview">
                    <a href="#">
                        <i class="fa-fw fas fa-money-bill">

                        </i>
                        <span><?php echo e(trans('cruds.noticeManagement.title')); ?></span>
                        <span class="pull-right-container"><i class="fa fa-fw fa-angle-left pull-right"></i></span>
                    </a>
                    <ul class="treeview-menu">
                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('notice_access')): ?>
                            <li class="<?php echo e(request()->is('admin/notice') || request()->is('admin/notice/*') ? 'active' : ''); ?>">
                                <a href="<?php echo e(route("admin.notice.index")); ?>">
                                    <i class="fa-fw fas fa-list">

                                    </i>
                                    <span><?php echo e(trans('cruds.notice.title')); ?></span>
                                </a>
                            </li>
                        <?php endif; ?>
                    </ul>
                </li>
            <?php endif; ?>


            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('accouns_management_access')): ?>
                <li class="treeview">
                    <a href="#">
                        <i class="fa-fw fas fa-university">

                        </i>
                        <span><?php echo e(trans('cruds.accounsManagement.title')); ?></span>
                        <span class="pull-right-container"><i class="fa fa-fw fa-angle-left pull-right"></i></span>
                    </a>
                    <ul class="treeview-menu">
                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('bank_account_access')): ?>
                            <li class="<?php echo e(request()->is('admin/bank-accounts') || request()->is('admin/bank-accounts/*') ? 'active' : ''); ?>">
                                <a href="<?php echo e(route("admin.bank-accounts.index")); ?>">
                                    <i class="fa-fw fas fa-money-check">

                                    </i>
                                    <span><?php echo e(trans('cruds.bankAccount.title')); ?></span>
                                </a>
                            </li>
                        <?php endif; ?>
                    </ul>
                </li>
            <?php endif; ?>
            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('expense_management_access')): ?>
                <li class="treeview">
                    <a href="#">
                        <i class="fa-fw fas fa-money-bill">

                        </i>
                        <span><?php echo e(trans('cruds.expenseManagement.title')); ?></span>
                        <span class="pull-right-container"><i class="fa fa-fw fa-angle-left pull-right"></i></span>
                    </a>
                    <ul class="treeview-menu">
                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('expense_category_access')): ?>
                            <li class="<?php echo e(request()->is('admin/expense-categories') || request()->is('admin/expense-categories/*') ? 'active' : ''); ?>">
                                <a href="<?php echo e(route("admin.expense-categories.index")); ?>">
                                    <i class="fa-fw fas fa-list">

                                    </i>
                                    <span><?php echo e(trans('cruds.expenseCategory.title')); ?></span>
                                </a>
                            </li>
                        <?php endif; ?>
                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('income_category_access')): ?>
                            <li class="<?php echo e(request()->is('admin/income-categories') || request()->is('admin/income-categories/*') ? 'active' : ''); ?>">
                                <a href="<?php echo e(route("admin.income-categories.index")); ?>">
                                    <i class="fa-fw fas fa-list">

                                    </i>
                                    <span><?php echo e(trans('cruds.incomeCategory.title')); ?></span>
                                </a>
                            </li>
                        <?php endif; ?>
                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('expense_access')): ?>
                            <li class="<?php echo e(request()->is('admin/expenses') || request()->is('admin/expenses/*') ? 'active' : ''); ?>">
                                <a href="<?php echo e(route("admin.expenses.index")); ?>">
                                    <i class="fa-fw fas fa-arrow-circle-right">

                                    </i>
                                    <span><?php echo e(trans('cruds.expense.title')); ?></span>
                                </a>
                            </li>
                        <?php endif; ?>
                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('income_access')): ?>
                            <li class="<?php echo e(request()->is('admin/incomes') || request()->is('admin/incomes/*') ? 'active' : ''); ?>">
                                <a href="<?php echo e(route("admin.incomes.index")); ?>">
                                    <i class="fa-fw fas fa-arrow-circle-right">

                                    </i>
                                    <span><?php echo e(trans('cruds.income.title')); ?></span>
                                </a>
                            </li>
                        <?php endif; ?>
                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('expense_report_access')): ?>
                            <li class="<?php echo e(request()->is('admin/expense-reports') || request()->is('admin/expense-reports/*') ? 'active' : ''); ?>">
                                <a href="<?php echo e(route("admin.expense-reports.index")); ?>">
                                    <i class="fa-fw fas fa-chart-line">

                                    </i>
                                    <span><?php echo e(trans('cruds.expenseReport.title')); ?></span>
                                </a>
                            </li>
                        <?php endif; ?>
                    </ul>
                </li>
            <?php endif; ?>

























            <?php ($unread = \App\QaTopic::unreadCount()); ?>
                <li class="<?php echo e(request()->is('admin/messenger') || request()->is('admin/messenger/*') ? 'active' : ''); ?>">
                    <a href="<?php echo e(route("admin.messenger.index")); ?>">
                        <i class="fa-fw fa fa-envelope">

                        </i>
                        <span><?php echo e(trans('global.messages')); ?></span>
                        <?php if($unread > 0): ?>
                            <strong>( <?php echo e($unread); ?> )</strong>
                        <?php endif; ?>
                    </a>
                </li>
                <li>
                    <a href="#" onclick="event.preventDefault(); document.getElementById('logoutform').submit();">
                        <i class="fas fa-fw fa-sign-out-alt">

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

                    </a>
                </li>
        </ul>
    </section>
</aside>
<?php /**PATH C:\Users\Adones\Downloads\MCS-Management-System-master\resources\views/partials/menu.blade.php ENDPATH**/ ?>