@section('title', "Lead")
{{ __('crm.lead_list') }}
{{-- --}} @if (!empty($crmleadlist)) @forelse ($crmleadlist as $key => $crmlead) @empty

No Record Found !

@endforelse @endif
{{ __('common.sl_no') }} {{ __('crm.date') }} {{ __('crm.client_details') }}{{ __('crm.tags') }}{{ __('crm.group') }} {{ __('crm.source') }} {{ __('common.action') }}
{{ $current_page * $per_page + $key + 1 - $per_page }} {{ \Carbon\Carbon::parse($crmlead->created_at)->format('Y-m-d') }}
{{ $crmlead->contact_name }}
@if(!empty($crmlead->phone)) {{ $crmlead->phone ?? '' }}
@endif @if(!empty($crmlead->contact_email)) {{ $crmlead->contact_email ?? '' }}
@endif @if (!empty($crmlead->crm_lead_to_tag)) @foreach ($crmlead->crm_lead_to_tag as $key => $crmTag) {{ $crmTag->tags_name ?? '-' }} @if ($key == 1)
@endif @endforeach @endif
{!! \App\Helper\Helper::make_pagination( $total_records, $per_page, $current_page, $total_page, 'crm.lead.index', ['start_date' => $start_date, 'end_date' => $end_date,'search'=>$search,'source_name'=>$source_name,'tags'=>$tags,'crm_agent'=>$crm_agent], ) !!}
@push('scripts') @endpush