@if(!empty($attendance)) @foreach($attendance as $rows) {{$loop->iteration}} {{$rows->username}} {{$rows->linemaneger}} {{$rows->in_time}} {{$rows->out_time}} {{$rows->description}} @if($rows->status=='Pending') {{$rows->status}} @else {{$rows->status}} @endif {{date_format(date_create($rows->created_at),"d-M-Y")}} {{$rows->approved_by}} @endforeach {!! $attendance->links('layouts.pagination') !!} @endif