@forelse ($lists as $index => $list) @empty @endforelse
ID @if($sortBy === 'id') @if($sortDirection === 'asc') @else @endif @else @endif NAME @if($sortBy === 'company_name') @if($sortDirection === 'asc') @else @endif @else @endif ADDRESS @if($sortBy === 'address') @if($sortDirection === 'asc') @else @endif @else @endif CITY @if($sortBy === 'city') @if($sortDirection === 'asc') @else @endif @else @endif STATE @if($sortBy === 'state') @if($sortDirection === 'asc') @else @endif @else @endif OFFICES CREATED @if($sortBy === 'created_at') @if($sortDirection === 'asc') @else @endif @else @endif AGENTS @if($sortBy === 'agents_count') @if($sortDirection === 'asc') @else @endif @else @endif
{{ $list->id}} {{ strlen($list->company_name) > 40 ? substr($list->company_name, 0, 40) . '...' : $list->company_name }} {{ strlen($list->address) > 20 ? substr($list->address, 0, 20) . '...' : $list->address }} {{ strlen($list->city) > 20 ? substr($list->city, 0, 20) . '...' : $list->city }} {{ $list->state }} {{ $list->branches_count }} {{ $list->created_at->format('Y-m-d') }} {{ $list->total_agents + $list->agents_count }}
No Companies Found
@if($lists->lastPage() > 1) {{ $lists->links() }} @endif @if($lists->total() < 10)

Showing {{ $lists->firstItem() }} to {{ $lists->lastItem() }} of {{ $lists->total() }} results

@else

@endif
Loading...
@livewireScripts