![]() 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(route('patients.appointments.index')); ?>" class="card bg-primary 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-primary card-count fw-bolder fs-2 mb-2 mt-5"><?php echo e($data['todayAppointmentCount']); ?></div> <div class="fw-bold text-inverse-primary fs-7"><?php echo e(__('messages.patient_dashboard.today_appointments')); ?></div> </div> </a> </div> <div class="col-xl-4 col-md-6"> <a href="<?php echo e(route('patients.appointments.index')); ?>" class="card bg-dark 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-dark card-count fw-bolder fs-2 mb-2 mt-5"><?php echo e($data['upcomingAppointmentCount']); ?></div> <div class="fw-bold text-inverse-dark fs-7"><?php echo e(__('messages.patient_dashboard.next_appointment')); ?></div> </div> </a> </div> <div class="col-xl-4 col-md-6"> <a href="<?php echo e(route('patients.appointments.index')); ?>" class="card bg-warning hoverable card-xl-stretch mb-xl-8"> <div class="card-body"> <span><i class="fas fa-calendar-check 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($data['completedAppointmentCount']); ?></div> <div class="fw-bold text-inverse-warning fs-7"><?php echo e(__('messages.patient_dashboard.completed_appointments')); ?></div> </div> </a> </div> <div class="col-xxl-6"> <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.patient_dashboard.today_appointments')); ?></span> </h3> </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="text-muted mt-1 fw-bold fs-7"><?php echo e(__('messages.doctor.doctor')); ?></th> <th class="text-muted mt-1 fw-bold"></th> <th class="text-muted mt-1 fw-bold fs-7 text-center"><?php echo e(__('messages.appointment.time')); ?></th> </tr> </thead> <tbody id="monthlyReport"> <?php $__empty_1 = true; $__currentLoopData = $data['todayAppointment']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $appointment): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?> <tr> <td class="w-50px"> <div class="symbol symbol-circle symbol-50px overflow-hidden me-3"> <div class="symbol-label"> <img src="<?php echo e($appointment->doctor->user->profile_image); ?>" class="w-100 object-cover" alt=""/> </div> </div> </td> <td class="ps-0"> <a href="<?php echo e(route('patients.doctor.detail', $appointment->doctor_id)); ?>" class="text-primary-800 mb-1 fs-6"> <?php echo e($appointment->doctor->user->fullname); ?></a> <span class="text-muted fw-bold d-block"><?php echo e($appointment->doctor->user->email); ?></span> </td> <td class="mb-1 fs-6 text-muted fw-bold text-center"> <span class="badge badge-light-info"> <?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); ?> </span> </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> </div> </div> </div> <div class="col-xxl-6"> <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.patient_dashboard.upcoming_appointments')); ?></span> </h3> </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="text-muted mt-1 fw-bold fs-7"><?php echo e(__('messages.doctor.doctor')); ?></th> <th class="text-muted mt-1 fw-bold fs-7"></th> <th class="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 = $data['upcomingAppointment']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $appointment): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?> <tr> <td class="w-50px"> <div class="symbol symbol-circle symbol-50px overflow-hidden me-3"> <div class="symbol-label"> <img src="<?php echo e($appointment->doctor->user->profile_image); ?>" class="w-100 object-cover" alt=""/> </div> </div> </td> <td class="ps-0"> <a href="<?php echo e(route('patients.doctor.detail', $appointment->doctor_id)); ?>" class="text-primary-800 mb-1 fs-6"> <?php echo e($appointment->doctor->user->fullname); ?></a> <span class="text-muted fw-bold d-block"><?php echo e($appointment->doctor->user->email); ?></span> </td> <td class="mb-1 fs-6 text-muted fw-bold text-center"> <span class="badge badge-light-info"> <?php echo e(\Carbon\Carbon::parse($appointment->date)->format('jS M, Y')); ?> <?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); ?> </span> </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> </div> </div> </div> </div> </div> </div> <?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/patient_dashboard/index.blade.php ENDPATH**/ ?>