@if(count($lists)>0) @foreach($lists as $list) @endforeach
No. Date Absent Reason Remarks Actions
{{++$x}} {{date_format(date_create($list->date_absent),"M d, Y")}} {{$list->category}} {{$list->remarks}}   @if($list->clinic_remarks == null) X
@endif
@else

  • No Absences Record.
  • @endif