<?php echo $__env->make('layout.dashboard_chart', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>

<div class="dashboard-charts">
    <div class="row">
        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('dashboard-counter')): ?>
            <div class="col-md-4 mb-3 <?php if(checkSettings('show-dshboard-graph') == 'disable'): ?> d-none <?php endif; ?>">
                <div class="chart-card">
                    <div class="chart-card-header">
                        <h3 class="chart-title">Customer Status</h3>
                    </div>
                    <div class="chart-card-body">
                        <div id="customer_info" class="chart-container"></div>
                    </div>
                </div>
            </div>
        <?php endif; ?>

        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('dashboard-billing-info')): ?>
            <div class="col-md-4 mb-3 text-center <?php if(checkSettings('show-dshboard-graph') == 'disable'): ?> d-none <?php endif; ?>">
                <div class="chart-card">
                    <div class="chart-card-header">
                        <h3 class="chart-title">Billing Snapshot</h3>
                    </div>
                    <div class="chart-card-body">
                        <div id="accounts_info" class="chart-container"></div>
                    </div>
                </div>
            </div>
        <?php endif; ?>

        <?php if(checkSettings('show-dashboard-customer-summary') == 'enable'): ?>
            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('dashboard-customer-summery')): ?>
                <div class="col-md-4 mb-3 text-center <?php if(checkSettings('show-dshboard-graph') == 'disable'): ?> d-none <?php endif; ?>">
                    <div class="chart-card">
                        <div class="chart-card-header">
                            <h3 class="chart-title">Client Growth</h3>
                        </div>
                        <div class="chart-card-body">
                            <div id="client_summery" class="chart-container"></div>
                        </div>
                    </div>
                </div>
            <?php endif; ?>
        <?php endif; ?>
    </div>

    <div class="row mt-2">
        <div class="col-sm-12 col-md-6 d-flex align-items-stretch">
            <a href="<?php echo e(route('onlineCustomer')); ?>" class="online-user-box w-100 mr-md-2">
                <div class="d-flex detail-card justify-content-between align-items-center value-container"
                    style="padding: 13px;">
                    <div class="d-flex flex-column justify-content-center">
                        <p class="text-white h4" id="onlineUser">Loading ....</p>
                        <p class="text-white mb-0">Online Users</p>
                    </div>
                    <div class="detail-icon">
                        <i class="fa-solid fa-users-line"></i>
                    </div>
                </div>
            </a>
        </div>

        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('pop_allows')): ?>
            <div class="col-sm-12 col-md-6 d-flex align-items-stretch mt-2 mt-md-0">
                <a href="<?php echo e(route('pop.exception')); ?>" class="online-user-box w-100 pop-allowed-box">
                    <div class="d-flex detail-card justify-content-between align-items-center value-container"
                        style="padding: 13px;">
                        <div class="d-flex flex-column justify-content-center">
                            <p class="text-white h4 mb-0"><?php echo e($popException); ?></p>
                            <p class="text-white mb-0">Pops allowed</p>
                        </div>
                        <div class="detail-icon">
                            <i class="fa-solid fa-users-line"></i>
                        </div>
                    </div>
                </a>
            </div>
        <?php endif; ?>
    </div>
</div>
<?php /**PATH /var/www/html/mondol/radius-circle/resources/views/dashboard/new/barchart.blade.php ENDPATH**/ ?>