@section('title') Contacts @endsection @section('breadcrumbs') {{ Breadcrumbs::render('contacts') }} @endsection @php $contactSearchRequest = request(); $contactRequestFile = $contactSearchRequest->has('file') ? $contactSearchRequest->get('file') : 'all'; $contactRequestFromNumberSid = $contactSearchRequest->has('contact_from_number_sid') ? $contactSearchRequest->get('contact_from_number_sid') : 'all'; $contactRequestSort = $contactSearchRequest->has('sort') ? $contactSearchRequest->get('sort') : 'cd'; $contactRequestStatus = $contactSearchRequest->has('status') ? $contactSearchRequest->get('status') : 'all'; $pipelineAccess = ($global_setting['PIPELINE_MANAGE'] && $auth_user->canany(['carbon-list', 'pipeline-list'])); $tagAccess = $auth_user->canany(['carbon-list', 'tag-list']); $bucketAccess = ($auth_user->enable_bucket && $auth_user->canany(['carbon-list', 'leads-bucket-list'])); $enablePowerDialer = false; if($user->enable_power_dialer == 1 && $defaultNumber && in_array($defaultNumber["messaging_api"], $powerDialerProviders)): $enablePowerDialer = true; endif; @endphp @if(empty($defaultNumber)) @include('pages.audit-messages.default-number-notice') @endif @if($auth_user->account_completed == 1)
Clear Advanced Search @if($totalContacts > 0 && $auth_user->canany(['carbon-list', 'sms-drips-list'])) Add to Campaign @endif
Actions

Contacts

Total contact(s): {{ $totalContacts }}
@if($totalContacts > 0)
@if($tagAccess) @endif @if($pipelineAccess) @endif @if($bucketAccess) @endif @foreach($contacts as $contact) @php $isShow = in_array($contact->source, hideContactConstant()) ? false : true; @endphp @if($tagAccess) @endif @if($pipelineAccess) @endif @if($bucketAccess) @endif @endforeach @if($contacts && $contacts->total() > 0) {!! $contacts->appends(request()->input())->onEachSide(3)->links() !!} @endif
@else
img

No data found.

Import Contacts
@endif
@push('scripts') @endpush @include('pages.contacts.notesDrawer') @include('pages.inbox.chatDrawer',["phones"=>$userNumbers]) @else
Please finish the setup of your account first. Finish setup
@endif