{{ session('success') }}
{{ session('error') }}
Total Projects
{{ $stats['total_projects'] ?? 0 }}
Active Projects
{{ $stats['active_projects'] ?? 0 }}
Pending Projects
{{ $stats['pending_projects'] ?? 0 }}
Total Revenue
Rs{{ number_format($stats['total_revenue'] ?? 0, 2) }}
Total Expenses
Rs{{ number_format($stats['total_expenses'] ?? 0, 2) }}
Total Leads
{{ $stats['total_leads'] ?? 0 }}
Contacted Leads
{{ $stats['contacted_leads'] ?? 0 }}
Total Domains
{{ $stats['total_domains'] ?? 0 }}
Expiring Domains
{{ $stats['expiring_domains'] ?? 0 }}
You have {{ $pendingRequirements }} pending requirement{{ $pendingRequirements > 1 ? 's' : '' }} awaiting review.
| Project | Client | Tech Lead | Status |
|---|---|---|---|
| {{ $project->name }} | {{ $project->client->name ?? '—' }} | {{ $project->techLead->name ?? '—' }} | @php $statusColors = [ 'active' => 'bg-green-100 text-green-800', 'pending' => 'bg-yellow-100 text-yellow-800', 'completed' => 'bg-blue-100 text-blue-800', 'on_hold' => 'bg-gray-100 text-gray-800', ]; $color = $statusColors[$project->status] ?? 'bg-gray-100 text-gray-800'; @endphp {{ ucfirst(str_replace('_', ' ', $project->status)) }} |
No recent projects found.
| Name | Salesperson | Status | Priority |
|---|---|---|---|
|
{{ $lead->name }}
{{ $lead->email }}
|
{{ $lead->salesPerson->name ?? '—' }} | @if($lead->status === 'contacted') Contacted @else Not Contacted @endif | @php $priorityColors = [ 'urgent' => 'bg-red-100 text-red-800', 'high' => 'bg-orange-100 text-orange-800', 'medium' => 'bg-blue-100 text-blue-800', 'low' => 'bg-gray-100 text-gray-800', ]; $pColor = $priorityColors[$lead->priority] ?? 'bg-gray-100 text-gray-800'; @endphp {{ ucfirst($lead->priority) }} |
No recent leads found.