{{-- Complete Leads Overview UI with Advanced Filters - All required columns: Contact Info, Business Name, Assigned To, Requirement, Source, Priority, Status, Created, Last Follow-up, Action - Advanced filters: Assign To, Source, Date Range (Created Date) - Modern UI with stats cards and responsive design - No horizontal scroll - fully responsive table - Redesigned Edit Modal with Follow-ups and Assignment tabs - CSV Import with Preview - Pagination - Colorful design with gradients and vibrant accents --}} @extends('business.layouts.admin') @section('breadcrumb')
{{ __('Manage and track all your business leads with advanced tools') }}
| {{ __('CONTACT') }} | {{ __('BUSINESS') }} | {{ __('ASSIGNED TO') }} | {{ __('REQUIREMENT') }} | {{ __('SOURCE') }} | {{ __('PRIORITY') }} | {{ __('STATUS') }} | {{ __('CREATED') }} | {{ __('LAST FOLLOW-UP') }} | {{ __('ACTION') }} |
|---|---|---|---|---|---|---|---|---|---|
|
{{ Str::limit($lead['name'] ?? 'Unknown', 20) }}
{{ $lead['phone'] }}
{{ Str::limit($lead['email'] ?? 'No email', 25) }}
|
@if(!empty($lead['busi_name']))
{{ Str::limit($lead['busi_name'], 20) }}
@else
—
@endif
|
@if (!empty($lead['assigned_employee']))
{{ Str::limit($lead['assigned_employee']['name'], 15) }}
@else
Unassigned
@endif
|
{{ Str::limit($lead['requirement'] ?? '—', 40) }}
|
{{ $sourceIcon }}
{{ ucfirst($lead['source'] ?? 'Direct') }}
|
{{ ucfirst($priority) }}
|
{{ ucfirst($status) }}
|
{{ \Carbon\Carbon::parse($lead['created_at'])->format('d M, Y') }}
{{ \Carbon\Carbon::parse($lead['created_at'])->format('h:i A') }}
|
@php
$lastFollowup = $lead['last_follow_up_at'] ?? null;
@endphp
@if($lastFollowup)
{{ \Carbon\Carbon::parse($lastFollowup)->format('d M, Y') }}
{{ \Carbon\Carbon::parse($lastFollowup)->diffForHumans() }}
@else
Not set
@endif
|
|
|
{{ __('No leads found.') }} |
|||||||||