@extends('layouts.app') @section('title', 'Dashboard — HIGHRA CRM') @section('header', 'Dashboard') @section('content')
Here is your sales and lead performance overview
Where enquiries come from
Last 7 days
Latest enquiries
| Lead | Source | Campaign | Status | Priority | |
|---|---|---|---|---|---|
| {{ $lead->name }} {{ $lead->phone ? (str_starts_with($lead->phone, '+') ? $lead->phone : '+91 '.$lead->phone) : ($lead->email ?? 'No contact info') }} | {{ $lead->source ?? 'Direct' }} | {{ $lead->campaign ?: ($lead->product_service ?: 'Direct Inquiry') }} | @php $statusSlug = strtolower($lead->status ?? 'new'); $pillClass = match($statusSlug) { 'new' => 'pill-new', 'qualified' => 'pill-qualified', 'contacted' => 'pill-contacted', 'interested' => 'pill-interested', 'won' => 'pill-won', 'lost' => 'pill-lost', default => 'pill-new' }; @endphp {{ ucfirst($lead->status ?? 'New') }} | {{ $lead->priority ? ucfirst($lead->priority) : 'Normal' }} | View → |
| No recent leads found. | |||||