Finance & Sales Overview

Rs. {{ number_format($invoiceStats['total_amount'], 0) }}

Total Revenue

{{ $salesStats['total'] }}

Total Sales

{{ $invoiceStats['paid'] }}

Paid Invoices

{{ $paymentStats['paid'] }}

Total Payments

{{ $subscriptionStats['active'] }}

Active Subscriptions

Lead Management

{{ $leadStats['total'] }}

Total Leads

{{ $leadStats['hot'] }}

Hot Leads

{{ $leadStats['warm'] }}

Warm Leads

{{ $leadStats['cold'] }}

Cold Leads

{{ $leadStats['converted'] }}

Converted Leads

Customers & Vehicles

{{ $additionalStats['total_customers'] }}

Total Customers

{{ $additionalStats['active_customers'] }}

Active Customers

{{ $salesStats['total'] }}

Total Vehicles

{{ $employeeStats['sales'] }}

Sales Agents

Inventory & Devices

{{ $additionalStats['total_inventory'] }}

Total Devices

{{ $additionalStats['available_inventory'] }}

Available Stock

{{ $additionalStats['total_inventory'] - $additionalStats['available_inventory'] }}

Devices Installed

{{ $commissionStats['paid'] + $commissionStats['partial'] + $commissionStats['due'] }}

Total Commissions

Device Installation Management

{{ $installationStats['pending'] }}

Pending Installations

{{ $installationStats['completed'] }}

Completed Installations

{{ $installationStats['today'] }}

Today's Installations

{{ $employeeStats['technicians'] }}

Active Technicians

Operations & Support

{{ $salesStats['pending_installation'] }}

Pending Installations

{{ $additionalStats['pending_complaints'] }}

Pending Complaints

{{ $employeeStats['technicians'] }}

Technicians

{{ $callLogStats['today'] }}

Call Logs Today

Expenses, Renewals & Payroll

{{ $additionalStats['expenses_due'] }}

Expenses Due

{{ $subscriptionStats['due_this_month'] }}

Renewals Due This Month

{{ $salesStats['suspended'] }}

Suspended Sales

{{ $employeeStats['total'] }}

Total Staff

{{ $salesStats['completed'] }}

Completed Sales

Rs. {{ number_format($payrollStats['monthly_total'], 0) }}

Monthly Payroll

Sales Analytics (Last 6 Months)

Recent Sales

@forelse($recentSales as $sale) @empty @endforelse
Customer Amount Status
{{ $sale->customer ? $sale->customer->name : 'N/A' }} Rs. {{ number_format($sale->total_amount, 0) }} {{ ucfirst(str_replace('_', ' ', $sale->status)) }}
No recent sales

Inventory Status

{{ $additionalStats['available_inventory'] }} Available

Pending Installations

@forelse($pendingInstallations as $install)

{{ $install->customer ? $install->customer->name : 'N/A' }}

Technician: {{ $install->technician ? $install->technician->name : 'Not Assigned' }}
@empty

No pending installations

@endforelse