@forelse ($branches as $index => $branch) @empty @endforelse
ID @if($sortBy === 'id') @if($sortDirection === 'asc') @else @endif @else @endif OFFICE @if($sortBy === 'name') @if($sortDirection === 'asc') @else @endif @else @endif ADDRESS @if($sortBy === 'address') @if($sortDirection === 'asc') @else @endif @else @endif PHONE @if($sortBy === 'phone') @if($sortDirection === 'asc') @else @endif @else @endif COMPANY @if($sortBy === 'company_name') @if($sortDirection === 'asc') @else @endif @else @endif AGENTS
{{ $branch->id}} {{ strlen($branch->name) > 20 ? substr($branch->name, 0, 20) . '...' : $branch->name }} {{ $branch->address }} {{ $branch->phone }} {{ $branch->parent->company_name ?? 'No Parent Company' }} {{ $branch->agent_count }}
No Office found.
@if($branches->lastPage() > 1) {{ $branches->links() }} @endif @if($branches->total() < 10)

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

@else

@endif
Loading...
@livewireScripts