<li
    class="nav-item <?php echo e(request()->routeIs(['billCollection', 'fund-transfer.index', 'income-head.index', 'income-head.index', 'income.index', 'expense-head.index', 'expense*', 'account-statement']) ? 'menu-open' : ''); ?>">
    <a href="#" class="nav-link ">
        <i class="fas fa-chart-line nav-icon "></i>
        <p>
            Accounts
            <i class="fas fa-angle-left right "></i>
        </p>
    </a>
    <ul class="nav nav-treeview ml-2">

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

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

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

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

        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('extra')): ?>
            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('income-section')): ?>
                

                

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


<style>
    p i {
        font-size: 8px;
        background: #f4f4f5;
        border-radius: 50%;
        padding: 5px;
        text-align: center;
        color: gray;
    }
</style>
<?php /**PATH /var/www/html/extranet/radius-circle/resources/views/layout/leftsidebar/account.blade.php ENDPATH**/ ?>