<li
    class="nav-item <?php echo e(request()->routeIs(['support-home', 'login-attempts-all', 'token*', 'assignTokenList', 'searchToken', 'closeTokenList', 'printTokenList', 'add-token', 'userWiseToken']) ? 'menu-open' : ''); ?>">
    <a href="#" class="nav-link">
        <i class=" fas fa-laptop-house nav-icon"></i>
        <p> Support
            <i class="fas fa-angle-left right"></i>
        </p>
    </a>
    <ul class="nav nav-treeview ml-2">

        <?php if(!checkAPI()): ?>
            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('login-attempts-all')): ?>
                <li class="nav-item">
                    <a href="<?php echo e(route('login-attempts-all')); ?>"
                        class="nav-link <?php echo e(request()->routeIs(['login-attempts-all']) ? 'active' : ''); ?>">
                        
                        <i class="ml-3 far fa-circle nav-icon" style="font-size: 10px"></i>
                        <p>Login Attempts</p>
                    </a>
                </li>
            <?php endif; ?>
        <?php endif; ?>

        <?php if(!checkAPI()): ?>
            <li class="nav-item">
                <a href="<?php echo e(route('freeradius-logs')); ?>"
                    class="nav-link <?php echo e(request()->routeIs(['freeradius-logs']) ? 'active' : ''); ?>">
                    <i class="ml-3 far fa-circle nav-icon" style="font-size: 10px"></i>
                    <p>Radius Logs</p>
                </a>
            </li>
        <?php endif; ?>


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

        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('new-token')): ?>
            <li
                class="nav-item <?php echo e(request()->routeIs(['token*', 'assignTokenList', 'searchToken', 'closeTokenList', 'printTokenList', 'add-token', 'userWiseToken']) ? 'menu-open' : ''); ?>">
                <a href="#" class=" nav-link ">
                    <i class="ml-3 fas fa-ticket-alt nav-icon"></i>
                    <p>Token</p>
                    <i class="fas fa-angle-left right mr-2"></i>
                </a>
                <ul class="nav nav-treeview">

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

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

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

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

                    <li class="nav-item">
                        <a href="<?php echo e(route('add-token')); ?>"
                            class="nav-link <?php echo e(request()->routeIs(['add-token']) ? 'active' : ''); ?>">
                            <i class="ml-4 fa fa-circle nav-icon" style="font-size: 6px !important"></i>
                            <p> Create Token </p>
                        </a>
                    </li>

                    <li class="nav-item">
                        <a href="<?php echo e(route('token.index')); ?>"
                            class="nav-link <?php echo e(request()->routeIs(['token.index']) ? 'active' : ''); ?>">
                            <i class="ml-4 fa fa-circle nav-icon" style="font-size: 6px !important"></i>
                            <p>Print Tokens</p>
                        </a>
                    </li>

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

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

                </ul>

            </li>
        <?php endif; ?>

    </ul>
</li>
<?php /**PATH /var/www/html/ers/radius-circle/resources/views/layout/leftsidebar/support.blade.php ENDPATH**/ ?>