@extends('layouts.user_type.auth') @section('pageActions') New company @endsection @section('companyProfile') @include('components.alert')
All companies
{{ number_format($companyProfiles->total()) }} {{ \Illuminate\Support\Str::plural('company', $companyProfiles->total()) }}
@forelse($companyProfiles as $index => $profile) @php $cpWords = preg_split('/\s+/', trim($profile->company_name ?? '')); $cpInitials = strtoupper(substr($cpWords[0] ?? '', 0, 1) . substr($cpWords[1] ?? '', 0, 1)) ?: '?'; $cpTone = 'c' . ((crc32($profile->company_name ?? '') % 6) + 1); @endphp @empty @endforelse
Company Contact Location Workspace
@if($profile->company_logo) @else {{ $cpInitials }} @endif {{ $profile->company_name }} {{ $profile->website ?: 'No website' }}
{{ $profile->email }} {{ $profile->phone }} {{ $profile->city ?: '—' }}@if($profile->state), {{ $profile->state }}@endif @if($profile->tenant_id) {{ $profile->tenant_id }} @else Not provisioned @endif
@if(request('search'))
No companies match your search
Try a different name, email or phone number.
@else
No companies yet
Create the first company profile to set up its workspace and integrations.
@endif
@if($companyProfiles->hasPages()) @include('components.pagination', ['paginator' => $companyProfiles]) @endif
@endsection