@foreach($absents as $key=> $row)
<tr>
    <th scope="row">
       
            <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>
       

    </th>
    <td>{{ $row->user->name }}</td>
    
    <td>
        
                <a href="{{ route ('absents.destroy', $row->id) }}" data-method="delete" class="icon rowAction" title="{{ __('dashboard.delete') }}"><img src="{{ asset('assets/admin/images/icons/close.svg') }}" alt="{{ __('dashboard.delete') }}"></a>
           
    </td>
</tr>
@endforeach

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