<div id="sidebar" class="c-sidebar c-sidebar-fixed c-sidebar-lg-show">

    <div class="c-sidebar-brand d-md-down-none">
        <a class="c-sidebar-brand-full h4" href="#">
            <?php echo e(trans('panel.site_title')); ?>

        </a>
    </div>

    <ul class="c-sidebar-nav">
        <li class="c-sidebar-nav-item">
            <a href="<?php echo e(route("admin.home")); ?>" class="c-sidebar-nav-link">
                <i class="c-sidebar-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('complaint_access')): ?>
            <li class="c-sidebar-nav-dropdown <?php echo e(request()->is("admin/service-complaints*") ? "c-show" : ""); ?> <?php echo e(request()->is("admin/checklist-reports*") ? "c-show" : ""); ?>">
                <a class="c-sidebar-nav-dropdown-toggle" href="#">
                    <i class="fa-fw fas fa-chalkboard-teacher c-sidebar-nav-icon">

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

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

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

                            </a>
                        </li>
                    <?php endif; ?>
                    <!--
                    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('checklist_report_access')): ?>
                        <li class="c-sidebar-nav-item">
                            <a href="<?php echo e(route("admin.checklist-reports.index")); ?>" class="c-sidebar-nav-link <?php echo e(request()->is("admin/checklist-reports") || request()->is("admin/checklist-reports/*") ? "c-active" : ""); ?>">
                                <i class="fa-fw fab fa-500px c-sidebar-nav-icon">

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

                            </a>
                        </li>
                    <?php endif; ?>
                    -->
                </ul>
            </li>
        <?php endif; ?>
        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('amc_access')): ?>
            <li class="c-sidebar-nav-dropdown <?php echo e(request()->is("admin/amc-contracts*") ? "c-show" : ""); ?>">
                <a class="c-sidebar-nav-dropdown-toggle" href="#">
                    <i class="fa-fw fas fa-file-signature c-sidebar-nav-icon">

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

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

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

                            </a>
                        </li>
                    <?php endif; ?>
                </ul>
            </li>
        <?php endif; ?>
        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('commissioning_access')): ?>
            <li class="c-sidebar-nav-dropdown <?php echo e(request()->is("admin/assets*") ? "c-show" : ""); ?> <?php echo e(request()->is("admin/commission-datas*") ? "c-show" : ""); ?>">
                <a class="c-sidebar-nav-dropdown-toggle" href="#">
                    <i class="fa-fw fas fa-american-sign-language-interpreting c-sidebar-nav-icon">

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

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

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

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

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

                            </a>
                        </li>
                    <?php endif; ?>
                    -->
                </ul>
            </li>
        <?php endif; ?>
        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('report_access')): ?>
            <li class="c-sidebar-nav-dropdown <?php echo e(request()->is("admin/all-reports*") ? "c-show" : ""); ?>">
                <a class="c-sidebar-nav-dropdown-toggle" href="#">
                    <i class="fa-fw fas fa-cogs c-sidebar-nav-icon">

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

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

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

                            </a>
                        </li>
                    <?php endif; ?>
                </ul>
            </li>
        <?php endif; ?>
        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('contact_management_access')): ?>
            <li class="c-sidebar-nav-dropdown <?php echo e(request()->is("admin/contact-companies*") ? "c-show" : ""); ?> <?php echo e(request()->is("admin/contact-contacts*") ? "c-show" : ""); ?>">
                <a class="c-sidebar-nav-dropdown-toggle" href="#">
                    <i class="fa-fw fas fa-phone-square c-sidebar-nav-icon">

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

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

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

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

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

                            </a>
                        </li>
                    <?php endif; ?>
                </ul>
            </li>
        <?php endif; ?>
        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('service_global_access')): ?>
            <li class="c-sidebar-nav-dropdown <?php echo e(request()->is("admin/products*") ? "c-show" : ""); ?> <?php echo e(request()->is("admin/fusion-categories*") ? "c-show" : ""); ?> <?php echo e(request()->is("admin/fusion-types*") ? "c-show" : ""); ?>">
                <a class="c-sidebar-nav-dropdown-toggle" href="#">
                    <i class="fa-fw fas fa-globe-asia c-sidebar-nav-icon">

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

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

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

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

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

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

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

                            </a>
                        </li>
                    <?php endif; ?>
                </ul>
            </li>
        <?php endif; ?>
        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('user_management_access')): ?>
            <li class="c-sidebar-nav-dropdown <?php echo e(request()->is("admin/permissions*") ? "c-show" : ""); ?> <?php echo e(request()->is("admin/roles*") ? "c-show" : ""); ?> <?php echo e(request()->is("admin/users*") ? "c-show" : ""); ?> <?php echo e(request()->is("admin/audit-logs*") ? "c-show" : ""); ?> <?php echo e(request()->is("admin/teams*") ? "c-show" : ""); ?> <?php echo e(request()->is("admin/user-signatures*") ? "c-show" : ""); ?>">
                <a class="c-sidebar-nav-dropdown-toggle" href="#">
                    <i class="fa-fw fas fa-users c-sidebar-nav-icon">

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

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

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

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

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

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

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

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

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

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

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

                </a>
            </li>
        <?php endif; ?>
        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('faq_management_access')): ?>
            <li class="c-sidebar-nav-dropdown <?php echo e(request()->is("admin/faq-questions*") ? "c-show" : ""); ?> <?php echo e(request()->is("admin/faq-categories*") ? "c-show" : ""); ?>">
                <a class="c-sidebar-nav-dropdown-toggle" href="#">
                    <i class="fa-fw fas fa-question c-sidebar-nav-icon">

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

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

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

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

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

                            </a>
                        </li>
                    <?php endif; ?>
                </ul>
            </li>
        <?php endif; ?>
        <li class="c-sidebar-nav-item">
            <a href="<?php echo e(route("admin.systemCalendar")); ?>" class="c-sidebar-nav-link <?php echo e(request()->is("admin/system-calendar") || request()->is("admin/system-calendar/*") ? "c-active" : ""); ?>">
                <i class="c-sidebar-nav-icon fa-fw fas fa-calendar">

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

            </a>
        </li>
        <?php ($unread = \App\Models\QaTopic::unreadCount()); ?>
            <li class="c-sidebar-nav-item">
                <a href="<?php echo e(route("admin.messenger.index")); ?>" class="<?php echo e(request()->is("admin/messenger") || request()->is("admin/messenger/*") ? "c-active" : ""); ?> c-sidebar-nav-link">
                    <i class="c-sidebar-nav-icon 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>
            <?php if(\Illuminate\Support\Facades\Schema::hasColumn('teams', 'owner_id') && \App\Models\Team::where('owner_id', auth()->user()->id)->exists()): ?>
                <li class="c-sidebar-nav-item">
                    <a class="<?php echo e(request()->is("admin/team-members") || request()->is("admin/team-members/*") ? "c-active" : ""); ?> c-sidebar-nav-link" href="<?php echo e(route("admin.team-members.index")); ?>">
                        <i class="c-sidebar-nav-icon fa-fw fa fa-users">
                        </i>
                        <span><?php echo e(trans("global.team-members")); ?></span>
                    </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="c-sidebar-nav-item">
                        <a class="c-sidebar-nav-link <?php echo e(request()->is('profile/password') || request()->is('profile/password/*') ? 'c-active' : ''); ?>" href="<?php echo e(route('profile.password.edit')); ?>">
                            <i class="fa-fw fas fa-key c-sidebar-nav-icon">
                            </i>
                            <?php echo e(trans('global.change_password')); ?>

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

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

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

</div>
<?php /**PATH /home/newrhytha2/public_html/sfm.fusionengg.in/resources/views/partials/menu.blade.php ENDPATH**/ ?>