@include('new_layouts.header') @php $profile = \App\Models\Utility::get_file('uploads/avatar/'); @endphp @include('crm.side-menu')

{{ __('Manage Client') }}

{{ Form::text('search', isset($_GET['search']) ? $_GET['search'] : '', [ 'class' => 'form-control d-inline-block w-9 me-3 mt-auto', 'id' => 'search', 'placeholder' => __('Search by Name or Email'), ]) }}
{!! Form::close() !!}
@forelse($clients as $client)
@if (Gate::check('edit user') || Gate::check('delete user'))
@endif
@if (!empty($client->avatar)) @else
{{ strtoupper($short) }}{{ strtoupper($short_lname) }}
@endif @php $name = strlen($client->name) > 20 ? substr($client->name, 0, 19) . '...' : $client->name; @endphp @php $email = strlen($client->email) > 20 ? substr($client->email, 0, 19) . '...' : $client->email; @endphp

{{ $name }}

{{ $email }}
@empty

{{ __('No results found') }}

@endforelse
    {!! $clients->links() !!}
@include('new_layouts.footer')