<?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('mikrotik_index')): ?>
    <li class="nav-item <?php echo e(request()->routeIs(['mikrotik*']) ? 'menu-open' : ''); ?>">
        <a href="#" class="nav-link">
            <i class="fas fa-server nav-icon"></i>
            <p>
                Mikrotik
                <i class="fas fa-angle-left right"></i>
            </p>
        </a>
        <ul class="nav nav-treeview">

            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('mikrotik_create')): ?>
                
            <?php endif; ?>

            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('mikrotik_index')): ?>
                <li class="nav-item">
                    <a href="<?php echo e(route('mikrotiks.index')); ?>"
                        class="nav-link <?php echo e(request()->routeIs(['mikrotiks.index']) ? 'active' : ''); ?>">
                        <i class="ml-3 fa fa-circle nav-icon" style="font-size: 6px !important"></i>
                        <p>Mikrotiks</p>
                    </a>
                </li>
            <?php endif; ?>

            <?php if(checkSettings('customer-sync') == 'enable'): ?>
                <li class="nav-item">
                    <a href="<?php echo e(route('mikrotiks-sync')); ?>"
                        class="nav-link <?php echo e(request()->routeIs(['mikrotiks-sync']) ? 'active' : ''); ?>">
                        <i class="ml-3 fa fa-circle nav-icon" style="font-size: 6px !important"></i>
                        <p>Sync </p>
                    </a>

                </li>
                

            <?php endif; ?>

        </ul>
    </li>
<?php endif; ?>

<?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->any(['reseller_index', 'specific_management_services'])): ?>
    <li class="nav-item <?php echo e(request()->routeIs(['resellers*', 'resellers-sms-log']) ? 'menu-open' : ''); ?>">
        <a href="#" class="nav-link">
            <i class="fas fa-user-tie nav-icon"></i>
            <p>
                Manager
                <i class="fas fa-angle-left right"></i>
            </p>
        </a>
        <ul class="nav nav-treeview">

            <li class="nav-item">
                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('reseller_create')): ?>
                    <a href="<?php echo e(route('resellers.create')); ?>"
                        class="nav-link <?php echo e(request()->routeIs(['resellers.create']) ? 'active' : ''); ?>">
                        <i class="ml-3 fa fa-circle nav-icon" style="font-size: 6px !important"></i>
                        <p>Add Manager</p>
                    </a>
                <?php endif; ?>
            </li>

            <li class="nav-item">
                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->any(['reseller_index', 'specific_management_services'])): ?>
                    <a href="<?php echo e(route('resellers.index')); ?>"
                        class="nav-link <?php echo e(request()->routeIs(['resellers.index']) ? 'active' : ''); ?>">
                        <i class="ml-3 fa fa-circle nav-icon" style="font-size: 6px !important"></i>
                        <p>Managers</p>
                    </a>
                <?php endif; ?>
            </li>
            <?php if(checkSettings('manager_status') == 'enable'): ?>
                <li class="nav-item">
                    <a href="<?php echo e(route('activeManager')); ?>"
                        class="nav-link <?php echo e(request()->routeIs(['activeManager']) ? 'active' : ''); ?>">
                        <i class="ml-3 fa fa-circle nav-icon" style="font-size: 6px !important"></i>
                        <p>Active Managers</p>
                    </a>
                </li>
                <li class="nav-item">
                    <a href="<?php echo e(route('inactiveManager')); ?>"
                        class="nav-link <?php echo e(request()->routeIs(['inactiveManager']) ? 'active' : ''); ?>">
                        <i class="ml-3 fa fa-circle nav-icon" style="font-size: 6px !important"></i>
                        <p>Inactive Managers</p>
                    </a>
                </li>
            <?php endif; ?>

            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->denies('specific_management_services')): ?>
                <li class="nav-item">

                    <a href="<?php echo e(route('resellers-sms-log')); ?>"
                        class="nav-link <?php echo e(request()->routeIs(['resellers-sms-log']) ? 'active' : ''); ?>">
                        <i class="ml-3 fa fa-circle nav-icon" style="font-size: 6px !important"></i>
                        <p>Manager Sms Log</p>
                    </a>

                </li>
            <?php endif; ?>

        </ul>

    </li>
<?php endif; ?>

<?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->any(['pop_index', 'specific_management_services'])): ?>
    <li class="nav-item <?php echo e(request()->routeIs(['pop*', 'reseller-area*', 'box*', 'activeInactivePopList']) ? 'menu-open' : ''); ?>">
        <a href="#" class="nav-link">
            <i class="fas fa-map-marked-alt nav-icon"></i>
            <p>
                POP
                <i class="fas fa-angle-left right"></i>
            </p>
        </a>
        <ul class="nav nav-treeview">
            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('reseller_area_index')): ?>
                <li class="nav-item <?php echo e(request()->routeIs(['reseller-area*']) ? 'menu-open' : ''); ?>">
                    <a href="#" class="nav-link">
                        <i class="ml-3 nav-icon fas fa-copy"></i>
                        <p>
                            Area
                            <i class="fas fa-angle-left right"></i>
                        </p>
                    </a>
                    <ul class="nav nav-treeview">
                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('reseller_area_index')): ?>
                            <li class="nav-item">
                                <a href="<?php echo e(route('reseller-area.index')); ?>"
                                    class="nav-link <?php echo e(request()->routeIs(['reseller-area.index']) ? 'active' : ''); ?>">
                                    <i class="ml-4 fa fa-circle nav-icon" style="font-size: 6px !important"></i>
                                    <p>Areas</p>
                                </a>
                            </li>
                        <?php endif; ?>
                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('reseller_area_create')): ?>
                            <li class="nav-item">
                                <a href="<?php echo e(route('reseller-area.create')); ?>"
                                    class="nav-link <?php echo e(request()->routeIs(['reseller-area.create']) ? 'active' : ''); ?>">
                                    <i class="ml-4 fa fa-circle nav-icon" style="font-size: 6px !important"></i>
                                    <p>Add Area</p>
                                </a>
                            </li>
                        <?php endif; ?>
                    </ul>
                </li>
            <?php endif; ?>


            <li class="nav-item">
                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('pop_create')): ?>
                    <a href="<?php echo e(route('pop.create')); ?>"
                        class="nav-link <?php echo e(request()->routeIs(['pop.create']) ? 'active' : ''); ?>">
                        <i class="ml-4 fa fa-circle nav-icon" style="font-size: 6px !important"></i>
                        <p>Add POP / Zone</p>
                    </a>
                <?php endif; ?>
            </li>

            <?php if(checkSettings('box') == 'enable'): ?>
                <li class="nav-item <?php echo e(request()->routeIs(['box*']) ? 'menu-open' : ''); ?>">
                    <a href="#" class="nav-link">
                        <i class="ml-3 nav-icon fas fa-copy"></i>
                        <p>
                            Box
                            <i class="fas fa-angle-left right"></i>
                        </p>
                    </a>
                    <ul class="nav nav-treeview">
                        <li class="nav-item">
                            <a href="<?php echo e(route('box.index')); ?>"
                                class="nav-link <?php echo e(request()->routeIs(['box.index']) ? 'active' : ''); ?>">
                                <i class="ml-4 far fa-circle nav-icon" style="font-size: 10px"></i>
                                <p>Box</p>
                            </a>
                        </li>
                        <li class="nav-item">
                            <a href="<?php echo e(route('box.create')); ?>"
                                class="nav-link <?php echo e(request()->routeIs(['box.create']) ? 'active' : ''); ?>"><i
                                    class="ml-4 far fa-circle nav-icon" style="font-size: 10px"></i>
                                <p>Add Box</p>
                            </a>
                        </li>
                    </ul>
                </li>
            <?php endif; ?>

            <li class="nav-item">
                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('pop_exception')): ?>
                    <a href="<?php echo e(route('pop.exception')); ?>"
                        class="nav-link <?php echo e(request()->routeIs(['pop.exception']) ? 'active' : ''); ?>">
                        <i class="ml-4 fa fa-circle nav-icon" style="font-size: 6px !important"></i>
                        <p>Expiry Exception</p>
                    </a>
                <?php endif; ?>
            </li>


            <li class="nav-item">
                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->any(['pop_index', 'specific_management_services'])): ?>
                    <a href="<?php echo e(route('pop.index')); ?>"
                        class="nav-link <?php echo e(request()->routeIs(['pop.index']) ? 'active' : ''); ?>">
                        <i class="ml-4 fa fa-circle nav-icon" style="font-size: 6px !important"></i>
                        <p>Pops / Zones</p>
                    </a>
                <?php endif; ?>
            </li>


            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('up-down-report-package-wise')): ?>
                <?php if(!checkAPI()): ?>

                    <li class="nav-item">
                        <a href="<?php echo e(route('package-upload-download')); ?>"
                            class="nav-link <?php echo e(request()->routeIs(['package-upload-download']) ? 'active' : ''); ?>">
                            <i class="ml-4 fa fa-circle nav-icon" style="font-size: 6px !important"></i>
                            <p>Packages ⬆️⬇️ Report</p>
                        </a>
                    </li>
                <?php endif; ?>
            <?php endif; ?>
            <?php if(checkSettings('active_inactive_pop') == 'enable'): ?>
                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('active-inactive-pop')): ?>
                    <li class="nav-item">
                        <a href="<?php echo e(route('activeInactivePopList')); ?>"
                            class="nav-link <?php echo e(request()->routeIs(['activeInactivePopList']) ? 'active' : ''); ?>">
                            <i class="ml-4 fa fa-circle nav-icon" style="font-size: 6px !important"></i>
                            <p>Inactive POP List</p>
                        </a>
                    </li>
                <?php endif; ?>

            <?php endif; ?>
        </ul>
    </li>
<?php endif; ?>

<?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->any(['package_index', 'sub-package_index', 'specific_management_services','package-upload-download'])): ?>
    <li class="nav-item <?php echo e(request()->routeIs(['packages*', 'sub-package*', 'sync-profile-list']) ? 'menu-open' : ''); ?>">
        <a href="#" class="nav-link">
            <i class="fas fa-list-alt nav-icon"></i>
            <p>
                Package
                <i class="fas fa-angle-left right"></i>
            </p>
        </a>
        <ul class="nav nav-treeview">

            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('package_create')): ?>
                <li class="nav-item">
                    <a href="<?php echo e(route('sync-profile-list')); ?>"
                        class="nav-link <?php echo e(request()->routeIs(['sync-profile-list']) ? 'active' : ''); ?>">
                        <i class="ml-4 fa fa-circle nav-icon" style="font-size: 6px !important"></i>
                        <p>Sync Profile List</p>
                    </a>
                </li>
                <li class="nav-item">
                    <a href="<?php echo e(route('packages.create')); ?>"
                        class="nav-link <?php echo e(request()->routeIs(['packages.create']) ? 'active' : ''); ?>">
                        <i class="ml-4 fa fa-circle nav-icon" style="font-size: 6px !important"></i>
                        <p>Add Package</p>
                    </a>

                </li>
            <?php endif; ?>

            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('sub-package_create')): ?>
                <li class="nav-item">
                    <a href="<?php echo e(route('sub-packages.create')); ?>"
                        class="nav-link <?php echo e(request()->routeIs(['sub-packages.create']) ? 'active' : ''); ?>">
                        <i class="ml-4 fa fa-circle nav-icon" style="font-size: 6px !important"></i>
                        <p>Add Sub Package</p>
                    </a>
                </li>
            <?php endif; ?>

            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->any(['package_index', 'specific_management_services'])): ?>
                <li class="nav-item">
                    <a href="<?php echo e(route('packages.index')); ?>"
                        class="nav-link <?php echo e(request()->routeIs(['packages.index']) ? 'active' : ''); ?>">
                        <i class="ml-4 fa fa-circle nav-icon" style="font-size: 6px !important"></i>
                        <p>Packages</p>
                    </a>
                </li>
            <?php endif; ?>
            <?php if(checkSettings('radius_customer_bandwidth_limit') == 'enable'): ?>


            <?php endif; ?>
            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->any(['sub-package_index', 'specific_management_services'])): ?>
                <li class="nav-item">
                    <a href="<?php echo e(route('sub-packages.index')); ?>"
                        class="nav-link <?php echo e(request()->routeIs(['sub-packages.index']) ? 'active' : ''); ?>">
                        <i class="ml-4 fa fa-circle nav-icon" style="font-size: 6px !important"></i>
                        <p>Sub Packages</p>
                    </a>
                </li>
            <?php endif; ?>



        </ul>
    </li>

<?php endif; ?>
<?php /**PATH /var/www/html/sabujwifi/radius-circle/resources/views/layout/leftsidebar/settings_section.blade.php ENDPATH**/ ?>