{{ __('Dashboard') }}

Total Projects
{{ $totalCompanies }}
Total Campaigns
{{ $totalCampaigns }}
Total Leads
{{ $totalLeads }}
Active Campaigns
{{ $runningCampaigns }}
Total Budget
₹{{ number_format($totalBudget, 2) }}
Total Spent
₹{{ number_format($totalSpent, 2) }}
Cost Per Lead
₹{{ number_format($costPerLead, 2) }}

Leads by Status

@foreach(['New' => 'bg-blue-500', 'Contacted' => 'bg-yellow-500', 'Interested' => 'bg-green-500', 'Not Interested' => 'bg-red-500', 'Converted' => 'bg-purple-500'] as $status => $color)
{{ $status }}
{{ $leadsByStatus[$status] ?? 0 }}
@endforeach

Leads per Campaign

@if(count($leadsPerCampaign) > 0)
@foreach($leadsPerCampaign as $campaign => $count)
{{ $campaign }}
{{ $count }}
@endforeach
@else

No campaign data available.

@endif

Recent Leads

@if($recentLeads->count() > 0)
@foreach($recentLeads as $lead) @endforeach
Name Campaign Status
{{ $lead->name }} {{ $lead->campaign->name }} {{ $lead->status }}
@else

No leads yet.

@endif

Upcoming Follow-ups

@if($upcomingFollowups->count() > 0)
@foreach($upcomingFollowups as $followup) @endforeach
Lead Date Status
{{ $followup->lead->name }} {{ $followup->next_followup_date->format('M d, Y') }} Pending
@else

No upcoming follow-ups.

@endif