@foreach($notificationabsences as $key=> $row)
<tr>
    <th scope="row">
      

    </th>
    <td>{{ $row->reservation->reservation->patient->name }}</td>
    <td>{{ $row->reservation->reservation->doctor->name }}</td>
    <td>{{$row->reason}}</td>
    <td>@if(!is_null($row->next_date)){{ $row->next_date }} @else {{__('reservations.notcontinue')}} @endif</td>
    @if(is_null($row->reason))
    <td><a href="{{ route ('notificationabsences.edit', $row->id) }}" class="icon" title="{{ __('dashboard.edit') }}"><img src="{{ asset('assets/admin/images/icons/draw.svg') }}" alt="{{ __('dashboard.edit') }}"></a>
</td>
    @endif
  
</tr>
@endforeach

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