<?php $__env->startSection('content'); ?>
<form>
<div class="side-title">
    <div class="row">
        <div class="col-lg-6">
            <h3><?php echo e($title); ?></h3>
        </div>
    </div>
</div>

<!-- ------------ data table ------------- -->
<table class="table table-hover table-bordered">
    <thead>
        <tr>
            <th scope="col">
                <div class="custom-control custom-checkbox">
                    <input type="checkbox" class="custom-control-input" id="selectall" name="example1">
                    <label class="custom-control-label" for="selectall"> </label>
                </div>
            </th>
            <th scope="col"><?php echo e(__('workHours.week_day')); ?></th>
            <th scope="col"><?php echo e(__('workHours.time_from')); ?></th>
            <th scope="col"><?php echo e(__('workHours.time_to')); ?></th>
            <th scope="col" colspan="2"><?php echo e(__('dashboard.created_at')); ?></th>
            <th scope="col"><?php echo e(__('dashboard.processes')); ?></th>
        </tr>
    </thead>

    <tbody class="response">
        <tr class="search_filter_form">
            <th scope="row"></th>
            <th scope="row">
                <select name="week_day" class="form-control">
                    <option value=""><?php echo e(__('workHours.week_day')); ?></option>
                    <?php if(count($weekDays)): ?>
                        <?php $__currentLoopData = $weekDays; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $weekDay): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <option value="<?php echo e(strtolower($key)); ?>"><?php echo e($weekDay); ?></option>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    <?php endif; ?>
                </select>
            </th>
            <th scope="row">
                <input type="time" name="time_from" value="<?php echo e($request->time_from ?? ''); ?>" class="form-control" placeholder="<?php echo e(__('workHours.time_from')); ?>">
            </th>
            <th scope="row">
                <input type="time" name="time_to" value="<?php echo e($request->time_to ?? ''); ?>" class="form-control" placeholder="<?php echo e(__('workHours.time_to')); ?>">
            </th>

            <td>
                <input type="date" placeholder="<?php echo e(__('dashboard.date_from')); ?>" name="date_from" value="<?php echo e($request->date_from ?? ''); ?>" class=" form-control">
            </td>
            <td>
                <input type="date" placeholder="<?php echo e(__('dashboard.date_to')); ?>" name="date_to" value="<?php echo e($request->date_to ?? ''); ?>" class=" form-control">
            </td>
            <th scope="col"><button type="button" class="butn color small search"><span><i class="fas fa-search"></i></span></button></th>
        </tr>
    </tbody>


</table>
<!-- ------------ sidemenu links ------------- -->
</form>
<?php $__env->stopSection(); ?>



<script>
/**
 * Importat to handle ajax requests for filters, deletes, trash and any proccess done on the table's data
 */
var dataTable={
    route: '<?php echo e(route("workHours.grid")); ?>'
}
</script>
<?php $__env->startSection('inner_js'); ?>

<?php $__env->stopSection(); ?>

<?php echo $__env->make('admin.layouts.container', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\wamp64\www\procare\resources\views/admin/work_hours/index.blade.php ENDPATH**/ ?>