

<?php $__env->startSection('content'); ?>

<div class="body-wrapper">
    <div class="table-area mt-10">
        <div class="table-wrapper">
            <div class="dashboard-header-wrapper">
                <h4 class="title"><?php echo e(__("History List")); ?></h4>
            </div>
            <div class="table-responsive">
                <table class="custom-table">
                    <thead>
                        <tr>
                            <th><?php echo e(__("Dr. Name")); ?></th>
                            <th><?php echo e(__("Type")); ?></th>
                            <th><?php echo e(__("Patient Name")); ?></th>
                            <th><?php echo e(__("Email")); ?></th>
                            <th><?php echo e(__("Schedule")); ?></th>
                            <th></th>
                        </tr>
                    </thead>
                    <tbody>
                        <?php $__empty_1 = true; $__currentLoopData = $booking; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
                            <tr>
                                <td data-label="<?php echo e(__("Dr. Name")); ?>"><?php echo e($item->doctors->name ?? ""); ?></td>
                                <td data-label="<?php echo e(__("Type")); ?>" class="text-capitalize"><?php echo e($item->type ?? ""); ?></td>
                                <td data-label="<?php echo e(__("Patient Name")); ?>"><?php echo e($item->name ?? ""); ?></td>
                                <td data-label="<?php echo e(__("Email")); ?>"><?php echo e($item->email ?? ""); ?></td>
                                <td data-label="<?php echo e(__("Schedule")); ?>"><?php echo e($item->schedules->week->day ?? ""); ?></td>
                                <td data-label=""><a href="<?php echo e(setRoute('user.history.details',$item->slug)); ?>" class="btn btn--base btn--primary"><i class="fas fa-eye"></i></a></td>
                            </tr>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
                            <?php echo $__env->make('user.components.alerts.empty',['colspan' => 6], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                        <?php endif; ?>   
                    </tbody>
                </table>
            </div>
        </div>
        <?php echo e(get_paginate($booking)); ?>

    </div>
</div>
    
<?php $__env->stopSection(); ?>
<?php echo $__env->make('user.layouts.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH D:\xampp\htdocs\adoctor-update_version\resources\views/user/sections/history/index.blade.php ENDPATH**/ ?>