Clients

{{ $clients->total() }} registered

@can('create', App\Models\Client::class) @endcan
@if($clients->isEmpty())
@can('create', App\Models\Client::class) @endcan
@else
@foreach($clients as $client)
@if($client->logoUrl()) @else {{ mb_strtoupper(mb_substr($client->name, 0, 2)) }} @endif

{{ $client->name }}

{{ $client->contact_person ?: 'No contact person' }}

@unless($client->is_active) Inactive @endunless
@if($client->email)

{{ $client->email }}

@endif @if($client->phone)

{{ $client->phone }}

@endif
{{ $client->events_count }} event{{ $client->events_count === 1 ? '' : 's' }} {{ $client->users_count }} login{{ $client->users_count === 1 ? '' : 's' }}
@can('update', $client) @endcan @can('delete', $client) @endcan
@endforeach
{{ $clients->links() }}
@endif
@error('form_name')

{{ $message }}

@enderror
@error('form_email')

{{ $message }}

@enderror
@error('logoUpload')

{{ $message }}

@enderror