|
Name | Phone | Birthdate | @if($tagAccess)Tags | @endif @if($pipelineAccess)Pipeline | @endif @if($bucketAccess)Bucket | @endifAction | ||
---|---|---|---|---|---|---|---|---|---|
|
@php $user_name = ($contact->name ? ucfirst($contact->name) : '') . ' ' . ($contact->last_name ? ucfirst($contact->last_name) : ''); @endphp
{{ strlen($user_name) > 50 ? substr($user_name, 0, 50) . '...' : $user_name }}
{{-- @if(!$contactSearchRequest->get('contact_from_number_sid') || $contactSearchRequest->get('contact_from_number_sid') == 'all') --}}
@if($contactSearchRequest->get('contact_from_number_sid') && $contactSearchRequest->get('contact_from_number_sid') != "all" && $contactSearchRequest->get('contact_from_number_sid') != 0)
@if($contact->is_block == 1 || $contact->cpBlock == 1)
@endif
@else
@if($contact->is_block)
@endif
@endif
@if(in_array($contact->status, $dncRejectStatus))
EDNC @endif @if($contact->status == 11) LANDLINE @endif @if($contact->status == 12) LITIGATORS @endif @if($contact->status == 13) LANDLINE DNC @endif @if($loggedAdminId && ((!empty($contact->source) && $contact->source == 'whitelist') || $contact->is_whitelist == 1)) Whitelist @endif |
@if($isShow) @if(($global_setting["PHONE_DIALER"] && $auth_user->textdrip_dialer && $auth_user->canany(['carbon-list', 'voice-calls-list']))) {{ $contact->phone }} @else {{ $contact->phone }} @endif @else ********** @endif | @if($contact->birthdate) {{ ($isShow) ? $contact->birthdate : "**********"}} @else - @endif | @if($tagAccess)@php $tagTitleArr = $contact->tags_titles ? explode(',', $contact->tags_titles) : []; $tagColorArr = $contact->tags_colors ? explode(',', $contact->tags_colors) : []; $tagStr = ""; $remainTag = count($tagTitleArr) - 2; @endphp @if($contact->tags_titles) @for ($i = 0; $i < count($tagTitleArr); $i++) @if($i < 2) {{ replaceUshaTagText($tagTitleArr[$i]) }} @endif @php $tagStr .= ''.replaceUshaTagText($tagTitleArr[$i]).''; @endphp @endfor @if($remainTag > 0) +{{ $remainTag }} More @endif @else - @endif | @endif @if($pipelineAccess)@if($contact->pipeline_titles) @php $pipelineTitleArr = $contact->pipeline_titles ? explode(',', $contact->pipeline_titles) : []; $pipelineColorArr = $contact->pipeline_colors ? explode(',', $contact->pipeline_colors) : []; $color = "primary"; if(in_array($pipelineColorArr[0], array_keys(getColorList()))): $color = $pipelineColorArr[0]; endif; @endphp {{ $pipelineTitleArr[0] }} @else - @endif | @endif @if($bucketAccess)
@if($contact->source && strpos($contact->source, "bucket_") !== false)
@php
$bucket = getContactBucket(explode("_", $contact->source)[1]);
@endphp
{{ ($bucket) ? $bucket[0]->bucket_name : "-" }}
@else
-
@endif
|
@endif
|
Actions |