@push('styles') @endpush @if(($queue && in_array($queue->status, ['pending', 'admin_review'])) || ($infobipData && $infobipData->status < 7))

Campaign Register and brand vetting are In Progress...

Review and Vetting by the 3rd party DCA is still undergoing. You will not be able to purchase new numbers until vetting is completed.
@endif

{{$auth_user->hasRole(1) ? $user->name.'('.$user->email.')':'Phone Numbers'}}

@if($infobipData) Brand Name: {{$queue->companyName}} @elseif($crSignalwire) Brand Name: {{$queue->companyName}} @elseif($crWavix) Brand Name: {{$queue->companyName}} @endif
@if($infobipData) Campaign Status: {{$infobipData->campaign_status}} @elseif ($crSignalwire) Campaign Status: {{ucfirst($crSignalwire->campaign_status)}} @elseif ($crWavix) Campaign Status: {{ucfirst($crWavix->campaign_status)}} @endif
Total Price: ${{$totalSubscriptionPrice}} / Month
@if($vettingData || (!$lastVetting && ($infobipData || $crWavix)))
@if($vettingData)
Status :   @php $badge = ['PENDING'=>'warning','SUCCESS'=>'success','FAILURE'=>'danger', 'UNSCORE' => 'warning', 'ACTIVE' => 'success', 'FAILED' => 'danger', 'EXPIRED' => 'danger']; @endphp {{(isset($vettingData->status)) ? $vettingData->status : '-'}}
Score :   {{(isset($vettingData->score)) ? $vettingData->score : '-'}}
Last Date of vetting :   {{(isset($vettingData->vettedDate)) ? formatDate($vettingData->vettedDate, 'd', 'iso') : '-'}}
@endif @if(!$lastVetting && ($infobipData || $crWavix))
Info : Vetting can only be done once in a month and each request will be charged $55.
@endif
@endif
@if(request()->has('user_id')) @endif
Clear
@if($user->enable_state_wise_distribution == 1)
@endif
@if(count($data)) @endif @if($infobipData || $crSignalwire || $crBird || $crWavix) @if(count($data) < $user->max_number) @endif @endif
@php $aggegator = getMessagingAPI(); @endphp @if($data && $data->count()) @foreach($data as $d) @php $progress = []; $progress[0]['tooltip'] = "Phone Purchased"; $progress[0]['show'] = 1; if($d['campaign_id'] && $d['campaign_status'] == 1): $progress[1]['tooltip'] = "Asssigned with campaign"; $progress[1]['show'] = 1; elseif($infobipData && in_array($infobipData->status, [51, 52, 61, 62, 71, 72, 64])): $progress[1]['tooltip'] = "Asssigned with campaign failed"; $progress[1]['show'] = 2; else: $progress[1]['tooltip'] = "Needed asssigned with campaign"; $progress[1]['show'] = 0; endif; if($d['status'] == 1): $progress[2]['tooltip'] = "Phone Active"; $progress[2]['show'] = 1; elseif($d['status'] == 2): $progress[2]['tooltip'] = "Phone Cancelled"; $progress[2]['show'] = 2; elseif($d['status'] == 3 || $d['status'] == 7): $progress[2]['tooltip'] = "Phone Suspended"; $progress[2]['show'] = 2; else: $progress[2]['tooltip'] = "Phone Inactive"; $progress[2]['show'] = 0; endif; @endphp @php $complianceData = getComplianceData($d['id']); $userStopOptOutRate = (float)str_replace("%", "", $complianceData['stop_optout']['3_days_per']); $userSpamRate = (float)str_replace("%", "", $complianceData['customer_spam']['3_days_per']); $unGhostBtn = ($d['status'] == 4 && !in_array($d['messaging_api'], [1, 9]) && $userSpamRate <= $global_setting['UNGHOST_NUMBER_SPAM_LIMIT'] && $userStopOptOutRate <= $global_setting['UNGHOST_NUMBER_STOP_OPT_LIMIT']) ? true : false; $description = ''; if(!empty($d['vanity_name'])): $description .= $d['vanity_name']; endif; if(!empty($d['state'])): $description .= !empty($description) ? ', '.$d['state'] : $d['state']; endif; @endphp @endforeach @else @endif
Phone Status Price Auto Optout Stop Optout Spam Progress Created At Call Forward Action
@if($auth_user->hasRole(1)) {{($d['messaging_api'] == 0) ? substr(ucfirst($aggegator[1]), 0, 1) : substr(ucfirst($aggegator[$d['messaging_api']]), 0, 1)}} @endif {{$d['phone'] . (!empty($description) ? ' ('.$description.') ' : '')}} @if($d['messaging_api'] == 1 || $d['messaging_api'] == 6)
Unregistered @if($d['messaging_api'] == 6) @endif
@endif @if($d['is_default'] == 1)   @endif
@if($d['status'] == 0) @if($d['messaging_api'] == 3) Activation Pending @else Inactive @endif @elseif($d['status'] == 1) Active @elseif($d['status'] == 2) Cancelled @elseif($d['status'] == 3 || !empty($d['suspended_at'])) Suspended @elseif($d['status'] == 4) Ghosted @endif @if($d['is_default'] == 2) Ghosted @endif {{isset($d['price']) ? '$'.$d['price'].' / Month' : '-'}}
{{($complianceData['auto_optout']['3_days_per'] == 0)? "0.00%" : $complianceData['auto_optout']['3_days_per']}} {{($complianceData['auto_optout']['7_days_per'] == 0)? "0.00%" : $complianceData['auto_optout']['7_days_per']}}
{{($complianceData['stop_optout']['3_days_per'] == 0)? "0.00%" : $complianceData['stop_optout']['3_days_per']}} {{($complianceData['stop_optout']['7_days_per'] == 0)? "0.00%" : $complianceData['stop_optout']['7_days_per']}}
{{($complianceData['customer_spam']['3_days_per'] == 0)? "0.00%" : $complianceData['customer_spam']['3_days_per']}} {{($complianceData['customer_spam']['7_days_per'] == 0)? "0.00%" : $complianceData['customer_spam']['7_days_per']}}
@if($d['is_default'] != 2 && $d['id'] > 0 && $d['messaging_api'] != 6) @foreach ($progress as $process)
@if($process['show'] == 1) @elseif($process['show'] == 2) @else @endif
@endforeach @else - @endif
{{formatDate($d['created_at'],"dt","default")}} @if(isset($d['forward_number']) && !empty($d['forward_number'])) @php $forwardNumbers = explode(',', $d['forward_number']); $totalNumbers = count($forwardNumbers); @endphp @foreach(array_slice($forwardNumbers, 0, 1) as $index => $number) {{ $number }} @endforeach @if($totalNumbers > 2) @endif @else OFF @endif Actions
No data found.
{!! $data->appends(request()->input())->onEachSide(3)->links() !!}
@push('scripts') @endpush