![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/clinic.corals.io/storage/framework/views/ |
<?php $__env->startSection('title'); ?> <?php echo e(__('messages.dashboard')); ?> <?php $__env->stopSection(); ?> <?php $__env->startSection('page_css'); ?> <link href="<?php echo e(mix('assets/css/app.css')); ?>" rel="stylesheet" type="text/css"/> <?php $__env->stopSection(); ?> <?php $__env->startSection('content'); ?> <div class="post d-flex flex-column-fluid" id="kt_post"> <div id="kt_content_container" class="container"> <div class="row g-5 gx-xxl-8 justify-content-center"> <div class="col-xl-3 col-md-6"> <a href="<?php echo e(route('doctors.index')); ?>" class="card bg-primary hoverable card-xl-stretch mb-xl-8"> <div class="card-body"> <span><i class="fas fa-user-md display-4 card-icon text-white"></i></span> <div class="text-inverse-primary fw-bolder card-count fs-2 mb-2 mt-5"><?php echo e($data['totalDoctorCount']); ?></div> <div class="fw-bold text-inverse-primary fs-7"><?php echo e(__('messages.admin_dashboard.total_doctor')); ?></div> </div> </a> </div> <div class="col-xl-3 col-md-6"> <a href="<?php echo e(route('patients.index')); ?>" class="card bg-dark hoverable card-xl-stretch mb-xl-8"> <div class="card-body"> <span><i class="fas fa-hospital-user display-4 card-icon text-white"></i></span> <div class="text-inverse-dark fw-bolder fs-2 card-count mb-2 mt-5"><?php echo e($data['totalPatientCount']); ?></div> <div class="fw-bold text-inverse-dark fs-7"><?php echo e(__('messages.admin_dashboard.total_patients')); ?></div> </div> </a> </div> <div class="col-xl-3 col-md-6"> <a href="<?php echo e(route('appointments.index')); ?>" class="card bg-warning hoverable card-xl-stretch mb-xl-8"> <div class="card-body"> <span><i class="fas fa-calendar-alt display-4 card-icon text-white"></i></span> <div class="text-inverse-warning fw-bolder fs-2 card-count mb-2 mt-5"><?php echo e($data['todayAppointmentCount']); ?></div> <div class="fw-bold text-inverse-warning fs-7"><?php echo e(__('messages.admin_dashboard.today_appointments')); ?></div> </div> </a> </div> <div class="col-xl-3 col-md-6"> <a href="<?php echo e(route('patients.index')); ?>" class="card bg-info hoverable card-xl-stretch mb-5 mb-xl-8"> <div class="card-body"> <span><i class="fas fa-user-injured display-4 card-icon text-white"></i></span> <div class="text-inverse-info fw-bolder fs-2 mb-2 card-count mt-5"><?php echo e($data['totalRegisteredPatientCount']); ?></div> <div class="fw-bold text-inverse-info fs-7"><?php echo e(__('messages.admin_dashboard.today_registered_patients')); ?></div> </div> </a> </div> <div class="col-xxl-12"> <div class="card card-xxl-stretch mb-5 mb-xxl-8"> <div class="card-header border-0 pt-5"> <h3 class="card-title align-items-start flex-column"> <span class="card-label fw-bolder fs-3 mb-1"><?php echo e(__('messages.admin_dashboard.recent_patients_registration')); ?></span> </h3> <div class="card-toolbar ms-auto"> <ul class="nav"> <li class="nav-item"> <a class="nav-link btn btn-sm btn-color-muted btn-active btn-active-light-primary fw-bolder px-4 active" data-bs-toggle="tab" href="" id="dayData"><?php echo e(__('messages.admin_dashboard.day')); ?></a> </li> <li class="nav-item"> <a class="nav-link btn btn-sm btn-color-muted btn-active btn-active-light-primary fw-bolder px-4 me-1" data-bs-toggle="tab" href="" id="weekData"><?php echo e(__('messages.admin_dashboard.week')); ?></a> </li> <li class="nav-item"> <a class="nav-link btn btn-sm btn-color-muted btn-active btn-active-light-primary fw-bolder px-4 me-1 " data-bs-toggle="tab" href="" id="monthData"><?php echo e(__('messages.admin_dashboard.month')); ?></a> </li> </ul> </div> </div> <div class="card-body py-3"> <div class="tab-content"> <div class="tab-pane fade show active" id="month"> <div class="table-responsive"> <table class="table table-row-dashed table-row-gray-200 align-middle gs-0 gy-4"> <thead> <tr class="text-start text-gray-400 fw-bolder fs-7 text-uppercase gs-0"> <th class="w-25px text-muted mt-1 fw-bold fs-7"><?php echo e(__('messages.admin_dashboard.name')); ?></th> <th class="min-w-150px text-muted mt-1 fw-bold fs-7"></th> <th class="min-w-150px text-muted mt-1 fw-bold fs-7"><?php echo e(__('messages.admin_dashboard.patient_id')); ?></th> <th class="min-w-150px text-muted mt-1 fw-bold fs-7 text-center"><?php echo e(__('messages.doctor_dashboard.total_appointments')); ?></th> <th class="min-w-150px text-muted mt-1 fw-bold fs-7 text-center"><?php echo e(__('messages.patient.registered_on')); ?></th> </tr> </thead> <tbody id="monthlyReport" class="text-gray-600 fw-bold"> <?php $__empty_1 = true; $__currentLoopData = $data['patients']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $patient): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?> <tr> <td> <div class="symbol symbol-45px me-2"> <img src="<?php echo e($patient->profile); ?>" class="symbol symbol-circle object-cover align-self-center" alt=""/> </div> </td> <td> <a href="<?php echo e(route('patients.show',$patient->id)); ?>" class="text-primary-800 mb-1 fs-6"><?php echo e($patient->user->fullname); ?></a> <span class="text-muted fw-bold d-block"><?php echo e($patient->user->email); ?></span> </td> <td class="text-start"> <span class="badge badge-light-success"><?php echo e($patient->patient_unique_id); ?></span> </td> <td class="text-center"> <span class="badge badge-light-danger"><?php echo e($patient->appointments_count); ?></span> </td> <td class="text-center text-muted fw-bold"> <span class="badge badge-light-info"> <?php echo e(\Carbon\Carbon::parse($patient->user->created_at)->format('jS M Y H:i A')); ?> </span> </td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?> <tr class="text-center"> <td colspan="5" class="text-center text-muted fw-bold"><?php echo e(__('messages.common.no_data_available')); ?></td> </tr> <?php endif; ?> </tbody> </table> </div> </div> <div class="tab-pane fade" id="week"> <div class="table-responsive"> <table class="table table-row-dashed table-row-gray-200 align-middle gs-0 gy-4"> <thead> <tr class="text-start text-gray-400 fw-bolder fs-7 text-uppercase gs-0"> <th class="w-25px text-muted mt-1 fw-bold fs-7"><?php echo e(__('messages.admin_dashboard.name')); ?></th> <th class="min-w-150px text-muted mt-1 fw-bold fs-7"></th> <th class="min-w-150px text-muted mt-1 fw-bold fs-7"><?php echo e(__('messages.admin_dashboard.patient_id')); ?></th> <th class="min-w-150px text-muted mt-1 fw-bold fs-7 text-center"><?php echo e(__('messages.doctor_dashboard.total_appointments')); ?></th> <th class="min-w-150px text-muted mt-1 fw-bold fs-7 text-center"><?php echo e(__('messages.patient.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-row-dashed table-row-gray-200 align-middle gs-0 gy-4"> <thead> <tr class="text-start text-gray-400 fw-bolder fs-7 text-uppercase gs-0"> <th class="w-25px text-muted mt-1 fw-bold fs-7"><?php echo e(__('messages.admin_dashboard.name')); ?></th> <th class="min-w-150px text-muted mt-1 fw-bold fs-7"></th> <th class="min-w-150px text-muted mt-1 fw-bold fs-7"><?php echo e(__('messages.admin_dashboard.patient_id')); ?></th> <th class="min-w-150px text-muted mt-1 fw-bold fs-7 text-center"><?php echo e(__('messages.doctor_dashboard.total_appointments')); ?></th> <th class="min-w-150px text-muted mt-1 fw-bold fs-7 text-center"><?php echo e(__('messages.patient.registered_on')); ?></th> </tr> </thead> <tbody id="dailyReport" class="text-gray-600 fw-bold"> </tbody> </table> </div> </div> </div> </div> </div> </div> </div> </div> </div> <?php echo $__env->make('dashboard.templates.templates', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <?php $__env->stopSection(); ?> <?php $__env->startSection('page_js'); ?> <script src="<?php echo e(mix('assets/js/dashboard/dashboard.js')); ?>"></script> <?php $__env->stopSection(); ?> <?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/corals/clinic.corals.io/resources/views/dashboard/index.blade.php ENDPATH**/ ?>