@extends ('../welcome') @section('content')
Filter
Name Phone Country:


Assign To
Creator:
Campaigns:
Projects:
Lead Target:
Status Type:
Status :
Tags :
Confirm Date
From To


Creation at
From
To


Last Action
From To

Leads

Total: {{ $leads->total() }}


@if (auth()->user()->type == 'admin' || auth()->user()->role->hasPermission('leads-create')) @endif @if (auth()->user()->type == 'admin' || auth()->user()->role->name == 'Marketing Team Leader') @endif
@php $status = null; if (preg_match('/^allLeads\/([^\/]+)/', request()->path(), $matches)) { $status = $matches[1]; } $exportUrl = $status ? route('leads.export', ['status' => $status]) : route('leads.export.all'); $exportUrl .= request()->getQueryString() ? '?' . request()->getQueryString() : ''; @endphp @if (auth()->user()->type == 'admin' || auth()->user()->role->hasPermission('leads-delayLeads')) @endif @if (auth()->user()->type == 'admin' || auth()->user()->role->hasPermission('leads-createStatus')) @endif @if (auth()->user()->type == 'admin' || auth()->user()->role->hasPermission('leads-archive')) @endif
@include('leads.partials.leads_table', ['leads' => $leads])
@endsection