@extends('layouts.app') @section('title', 'Leads') @section('heading', 'Leads') @section('content')
@can('leads.create')Add lead@endcan
@include('leads._filters')
@forelse ($leads as $l) @empty @endforelse
Leads
CustomerStageInterest SourceOwnerResponseCreated
{{ $l->customer->name }}{{ $l->customer->display_phone }} {{ $l->stage->label() }} {{ $l->interestVehicle?->display_name ?? \Illuminate\Support\Str::limit($l->interest_notes, 40) ?: 'Not specified' }} {{ config('crm.sources')[$l->source] ?? $l->source }} {{ $l->assignee?->name ?? 'Unassigned' }} {{ $l->created_at->format('d M Y') }}
No leads match.
{{ $leads->links() }}
@endsection