@php $sortedType = ''; $sortedValue = ''; if(isset($data['sortType']) && isset($data['sortValue']) && $records->count() > 0){ $sortedType = $data['sortType']; $sortedValue = $data['sortValue']; } @endphp
@if($records->count() > 0) @foreach($records as $record) @php $detailUrl = route('contacts.contacts.show', $record->id); @endphp @endforeach @else @endif
Name  Company  Title Phone  Email  Country  Created By  Created Date 
{{$record->name}}   {{$record->company_name}} {{$record->job_profile}} {{$record->mobile_phone}} {{$record->email}} {{$record->country}} {{$record->created_by}} {{showTimeFormat($record->created_at, 'm/d/Y')}}
No matching records found
Showing {{ $records->firstItem() }} to {{ $records->lastItem() }} of {{$records->total()}} entries
{{$records->links('vendor.pagination.bootstrap-4')}}