// Leads — filterable table wired to GET /api/v2/leads and GET /pipeline-counts. function LeadCard({ c, onClick }) { return (
| Name | Stage | Source | Tags | Tommy | Scheduled | Last activity |
|---|---|---|---|---|---|---|
No contacts match this filter. | ||||||
|
{initialsOf(c.name)}
{c.name} {c.hot && · HOT}
{c.phone || c.email || '—'}
|
{c.stage_raw || c.stage} | {c.source || '—'} |
{(c.tags || []).slice(0, 3).map(t => (
{String(t)}
))}
|
{c.tommy_status === 'pending_approval' && pending} {c.tommy_status === 'unanswered' && unread} {c.tommy_status === 'idle' && (c.tommy_contacted ? contacted : —)} | {c.scheduled_label || '—'} | {fmtAgo(c.lastActivity)} |