@extends('admin.layouts.container')

@section('content')
<form>
<div class="side-title">
    <div class="row">
        <div class="col-lg-6">
            <h3>{{ $title }}</h3>
        </div>
        
    </div>
</div>

<!-- ------------ data table ------------- -->
<table class="table table-hover table-bordered"style="word-break:break-all">
    <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">{{ __('patientreservations.doctor') }}</th>
            <th scope="col">{{ __('patientreservations.branch') }}</th>
            <th scope="col">{{ __('patientreservations.dating') }}</th>
            <th scope="col">{{ __('patientreservations.time') }}</th>
            <th scope="col">{{ __('patientreservations.count') }}</th>
            <th scope="col">{{ __('dashboard.processes') }}</th>
            
        </tr>
    </thead>

    <tbody class="response">
        <tr class="search_filter_form">
            <th scope="row">
                <!-- <input type="checkbox" class="checkAll" /> -->
            </th>
            <th scope="row">
                <input type="text" name="doctor" value="{{ $request->doctor ?? '' }}" class="form-control" placeholder="">
            </th>
            
            <th scope="row">
                <input type="text" name="branch" value="{{ $request->branch ?? '' }}" class="form-control" placeholder="">
            </th>
            
            <th scope="row">
                <input type="text" name="dating" value="{{ $request->dating ?? '' }}" class="date_to form-control" placeholder="">
            </th>
            <th scope="row">
                <input type="time" name="timing" value="{{ $request->timing ?? '' }}" class="form-control" placeholder="">
            </th>
            <th scope="row">
                <input type="text" name="count" value="{{ $request->count ?? '' }}" class="form-control" placeholder="">
            </th>
             <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>
@endsection



<script>
/**
 * Importat to handle ajax requests for filters, deletes, trash and any proccess done on the table's data
 */
var dataTable={
    route: '{{ route("patientreservations.grid") }}'
}
</script>
@section('inner_js')

@endsection