PATH:
home
/
rwabteecom
/
.trash
/
Editing: ee5a3fae2b5c7b65e1b5e81bdf91cfe1.php
<?php $__env->startSection('title'); ?> <?php echo e(__('messages.dashboard')); ?> <?php $__env->stopSection(); ?> <?php $__env->startSection('content'); ?> <?php if(\Spatie\Permission\PermissionServiceProvider::bladeMethodWrapper('hasRole', 'super_admin')): ?> <div class="container-fluid"> <div class="d-flex flex-column"> <div class="row"> <?php $__split = function ($name, $params = []) { return [$name, $params]; }; [$__name, $__params] = $__split('sadmin-dashboard', ['lazy' => true,'activeUsersCount' => $activeUsersCount,'deActiveUsersCount' => $deActiveUsersCount,'activeVcard' => $activeVcard,'deActiveVcard' => $deActiveVcard]); $__html = app('livewire')->mount($__name, $__params, 'lw-1282368040-0', $__slots ?? [], get_defined_vars()); echo $__html; unset($__html); unset($__name); unset($__params); unset($__split); if (isset($__slots)) unset($__slots); ?> <div class="col-xxl-4 col-12 mb-7 mb-xxl-0"> <div class="card"> <div class="card-header pb-0 px-10"> <h3 class="mb-0"><?php echo e(__('messages.sadmin_dashboard.plans_by_users')); ?></h3> </div> <div class="card-body"> <canvas id="dashboardPlanPieChart"></canvas> </div> </div> </div> <div class="col-xxl-8 col-12 mb-7 mb-xxl-0"> <div class="card"> <div class="card-header pb-0 px-10"> <h3 class="mb-0"><?php echo e(__('messages.sadmin_dashboard.income')); ?></h3> <div class="d-flex"> <button type="button" class="btn btn-icon btn-outline-primary me-5" title="Switch Chart"> <span class="svg-icon svg-icon-1 m-0 text-center" id="dashboardChangeIncomeChart"> <i class="fa-solid fa-chart-line income-chart"></i> </span> </button> <div id="dashboardIncomeTimeRange" class="time_range btn btn-outline-primary align-items-center"> <i class="far fa-calendar-alt" aria-hidden="true"></i>  <span></span> <b class="caret"></b> </div> </div> </div> <div class="mt-6 mx-6"> <div id="incomeChartCanvas"> <canvas id="dashboardIncomeChart"></canvas> </div> </div> </div> </div> <div class="col-12 mt-7"> <div class="d-flex"> <h3 class="card-title align-items-start flex-column"> <span class="fw-bolder fs-3 mb-1"><?php echo e(__('messages.sadmin_dashboard.recent_users_registration')); ?></span> </h3> <div class="card-toolbar ms-auto"> <ul class="nav nav-tabs mb-5 pb-1 overflow-auto flex-nowrap text-nowrap" id="overview-tab" role="tablist"> <li class="nav-item position-relative me-7 mb-3" role="presentation"> <button class="nav-link active p-0" id="dayData" data-bs-toggle="tab" data-bs-target="#overview" type="button" role="tab" aria-controls="overview" aria-selected="true"> <?php echo e(__('messages.sadmin_dashboard.day')); ?> </button> </li> <li class="nav-item position-relative me-7 mb-3" role="presentation"> <button class="nav-link p-0" id="weekData" data-bs-toggle="tab" data-bs-target="#vcards" type="button" role="tab" aria-controls="cases" aria-selected="false"> <?php echo e(__('messages.sadmin_dashboard.week')); ?> </button> </li> <li class="nav-item position-relative me-7 mb-3" role="presentation"> <button class="nav-link p-0" id="monthData" data-bs-toggle="tab" data-bs-target="#vcards" type="button" role="tab" aria-controls="cases" aria-selected="false"> <?php echo e(__('messages.sadmin_dashboard.month')); ?> </button> </li> </ul> </div> </div> <div class="pb-2"> <div class="tab-content"> <div class="tab-pane fade active" id="month"> <div class="table-responsive"> <table class="table table-striped"> <thead> <tr> <th><?php echo e(__('messages.sadmin_dashboard.name')); ?></th> <th><?php echo e(__('messages.sadmin_dashboard.email')); ?></th> <th class="text-nowrap"><?php echo e(__('messages.sadmin_dashboard.contact')); ?></th> <th class="text-nowrap"><?php echo e(__('messages.sadmin_dashboard.registered_on')); ?> </th> </tr> </thead> <tbody id="monthlyReport" class="text-gray-600 fw-bold"> </tbody> </table> </div> </div> <div class="tab-pane fade" id="week"> <div class="table-responsive"> <table class="table table-striped"> <thead> <tr> <th><?php echo e(__('messages.sadmin_dashboard.name')); ?></th> <th><?php echo e(__('messages.sadmin_dashboard.email')); ?></th> <th class="text-nowrap"><?php echo e(__('messages.sadmin_dashboard.contact')); ?></th> <th class="text-nowrap"><?php echo e(__('messages.sadmin_dashboard.registered_on')); ?> </th> </tr> </thead> <tbody id="weeklyReport" class="text-gray-600 fw-bold"> </tbody> </table> </div> </div> <div class="tab-pane fade" id="day"> <div class="table-responsive"> <table class="table table-striped"> <thead> <tr> <th><?php echo e(__('messages.sadmin_dashboard.name')); ?></th> <th><?php echo e(__('messages.sadmin_dashboard.email')); ?></th> <th class="text-nowrap"><?php echo e(__('messages.sadmin_dashboard.contact')); ?></th> <th class="text-nowrap"><?php echo e(__('messages.sadmin_dashboard.registered_on')); ?> </th> </tr> </thead> <tbody id="dailyReport" class="text-gray-600 fw-bold"> </tbody> </table> </div> </div> </div> </div> </div> </div> </div> </div> <?php endif; ?> <?php if(\Spatie\Permission\PermissionServiceProvider::bladeMethodWrapper('hasRole', 'admin')): ?> <div class="container-fluid"> <div class="d-flex flex-column"> <div class="row"> <?php $__split = function ($name, $params = []) { return [$name, $params]; }; [$__name, $__params] = $__split('admin-dashboard', ['lazy' => true,'enquiry' => $enquiry,'appointment' => $appointment,'activeVcard' => $activeVcard,'deActiveVcard' => $deActiveVcard]); $__html = app('livewire')->mount($__name, $__params, 'lw-1282368040-1', $__slots ?? [], get_defined_vars()); echo $__html; unset($__html); unset($__name); unset($__params); unset($__split); if (isset($__slots)) unset($__slots); ?> <div class="col-12 mb-4"> <div class="card analytics-chart"> <div class="card-header pb-0 px-10"> <h3 class="mb-0"><?php echo e(__('messages.analytic.vcard_analytic')); ?></h3> <div class="ms-auto"> <button type="button" class="btn btn-icon btn-outline-primary me-5" title="Switch Chart"> <span class="svg-icon svg-icon-1 m-0 text-center" id="dashboardChangeChart"> <i class="fa-solid fa-chart-line chart"></i> </span> </button> </div> <div id="dashboardTimeRange" class="time_range btn btn-outline-primary align-items-center"> <i class="far fa-calendar-alt" aria-hidden="true"></i>  <span></span> <b class="caret"></b> </div> </div> <div class="card-body"> <div class="chart-container"> <div id="dashboardWeeklyUserBarChartContainer"> <canvas id="dashboardWeeklyUserBarChart" height="200" width="905" style="display: block; width: 905px; height: 200px;"></canvas> </div> </div> </div> </div> </div> <div class="col-12"> <div class="mt-3 mb-5"> <h3><?php echo e(__('messages.common.today_appointments')); ?></h3> </div> <div class="table-responsive"> <table class="table table-striped"> <thead> <tr> <th class="text-nowrap"><?php echo e(__('messages.vcard.vcard_name')); ?></th> <th><?php echo e(__('messages.common.name')); ?></th> <th><?php echo e(__('messages.common.phone')); ?></th> <th><?php echo e(__('messages.common.email')); ?></th> </tr> </thead> <tbody id="appointmentReport"> </tbody> </table> </div> </div> </div> </div> </div> <?php endif; ?> <?php echo $__env->make('dashboard.templates.templates', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <?php echo $__env->make('dashboard.templates.userTemplate', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <?php $__env->stopSection(); ?> <?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/rwabteecom/public_html/resources/views/dashboard/index.blade.php ENDPATH**/ ?>
SAVE
CANCEL