@foreach($patientsessions 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->patient->name }}</td>
    <td>{{ $row->session->name }}</td>
    <td>{{ $row->dating }}</td>
    <td>{{ $row->timing }}</td>
    <td>@if( $row->type == '1') {{__('patientsessions.paid')}} @else {{__('patientsessions.notpaid')}} @endif</td>
    
</tr>
@endforeach

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