![]() 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-4 col-md-6"> <a href="<?php echo e(url('doctors/appointments')); ?>" class="card bg-primary hoverable card-xl-stretch mb-xl-8"> <div class="card-body"> <span><i class="fas fa-file-medical card-icon display-4 text-white"></i></span> <div class="text-inverse-primary card-count fw-bolder fs-2 mb-2 mt-5"><?php echo e($appointments['totalAppointmentCount']); ?></div> <div class="fw-bold text-inverse-primary fs-7"><?php echo e(__('messages.doctor_dashboard.total_appointments')); ?></div> </div> </a> </div> <div class="col-xl-4 col-md-6"> <a href="<?php echo e(url('doctors/appointments')); ?>" class="card bg-dark hoverable card-xl-stretch mb-xl-8"> <div class="card-body"> <span><i class="fas fa-calendar-alt card-icon display-4 text-white"></i></span> <div class="text-inverse-dark card-count fw-bolder fs-2 mb-2 mt-5"><?php echo e($appointments['todayAppointmentCount']); ?></div> <div class="fw-bold text-inverse-dark fs-7"><?php echo e(__('messages.admin_dashboard.today_appointments')); ?></div> </div> </a> </div> <div class="col-xl-4 col-md-6"> <a href="<?php echo e(url('doctors/appointments')); ?>" class="card bg-warning hoverable card-xl-stretch mb-xl-8"> <div class="card-body"> <span><i class="fas fa-book-medical card-icon display-4 text-white"></i></span> <div class="text-inverse-warning card-count fw-bolder fs-2 mb-2 mt-5"><?php echo e($appointments['upcomingAppointmentCount']); ?></div> <div class="fw-bold text-inverse-warning fs-7"><?php echo e(__('messages.patient_dashboard.next_appointment')); ?></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.doctor_dashboard.recent_appointments')); ?></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="border-0 text-uppercase"> <th class="w-25px text-muted mt-1 fw-bold fs-7"><?php echo e(__('messages.doctor_appointment.patient')); ?></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.patient.patient_unique_id')); ?></th> <th class="min-w-150px text-muted mt-1 fw-bold fs-7 text-center"><?php echo e(__('messages.appointment.date')); ?></th> </tr> </thead> <tbody id="monthlyReport"> <?php $__empty_1 = true; $__currentLoopData = $appointments['records']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $appointment): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?> <tr> <td> <div class="symbol symbol-45px me-2"> <img src="<?php echo e($appointment->patient->profile); ?>" class="symbol symbol-circle object-cover align-self-center" alt=""/> </div> </td> <td> <a href="<?php echo e(route('doctors.patient.detail',$appointment->patient_id)); ?>" class="text-primary-800 mb-1 fs-6"> <?php echo e($appointment->patient->user->fullname); ?></a> <span class="text-muted fw-bold d-block"><?php echo e($appointment->patient->user->email); ?></span> </td> <td class="text-start"> <span class="badge badge-light-success"><?php echo e($appointment->patient->patient_unique_id); ?></span> </td> <td class="mb-1 fs-6 text-muted fw-bold text-center"> <div class="badge badge-light-info"> <div class="mb-2"><?php echo e($appointment->from_time); ?> <?php echo e($appointment->from_time_type); ?> - <?php echo e($appointment->to_time); ?> <?php echo e($appointment->to_time_type); ?></div> <div class=""><?php echo e(\Carbon\Carbon::parse($appointment->date)->format('jS M, Y')); ?> </div> </div> </td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?> <tr> <td colspan="4" 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="border-0 text-uppercase"> <th class="w-25px text-muted mt-1 fw-bold fs-7"><?php echo e(__('messages.doctor_appointment.patient')); ?></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.patient.patient_unique_id')); ?></th> <th class="min-w-150px text-muted mt-1 fw-bold fs-7 text-center"><?php echo e(__('messages.appointment.date')); ?></th> </tr> </thead> <tbody id="weeklyReport"></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="border-0 text-uppercase"> <th class="w-25px text-muted mt-1 fw-bold fs-7"><?php echo e(__('messages.doctor_appointment.patient')); ?></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.patient.patient_unique_id')); ?></th> <th class="min-w-150px text-muted mt-1 fw-bold fs-7 text-center"><?php echo e(__('messages.appointment.date')); ?></th> </tr> </thead> <tbody id="dailyReport"> </tbody> </table> </div> </div> </div> </div> </div> </div> </div> </div> </div> <?php echo $__env->make('doctor_dashboard.templates.templates', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <?php $__env->stopSection(); ?> <?php $__env->startSection('page_js'); ?> <script> let noRecord = "<?php echo e(__('messages.common.no_data_available')); ?>"; </script> <script src="<?php echo e(mix('assets/js/dashboard/doctor-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/doctor_dashboard/index.blade.php ENDPATH**/ ?>