@foreach($patientreservations as $key=> $row)
<tr>
    <th scope="row">
        @if ($row->role != 'super_admin')
            <div class="custom-control custom-checkbox">
                <input type="checkbox" class="custom-control-input selectOne deleteCheck" id="customCheck{{$row->id}}" value="{{$row->id}}" name="id[]">
                <label class="custom-control-label" for="customCheck{{$row->id}}">{{-- $row->id --}}</label>
            </div>
        @endif

    </th>
    <td>{{ $row->doctor->name }}</td>
    <td>{{ $row->branch->name }}</td>
    <td>{{ $row->dating }}</td>
    <td>{{ $row->timing }}</td>
    <td>{{ $row->count }}</td>
    <td> 
    <a href="{{ route ('patientreservations.edit', $row->id) }}" class="icon" title="{{ __('dashboard.edit') }}"><img src="{{ asset('assets/admin/images/icons/eye.svg') }}" alt="{{ __('dashboard.edit') }}"></a>
</td>
</tr>
@endforeach

@if( count( $patientreservations ) && $patientreservations->hasPages() )
<tr> <td></td><td> {{ $patientreservations->links() }} </td> </tr>
@endif
