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. |
Showing {{ $branches->firstItem() }} to {{ $branches->lastItem() }} of {{ $branches->total() }} branches
@else @endif