@extends('admin.layouts.app') @section('title','Dashboard') @section('content') @if($staff)

My Created Leads

{{ $createdLeadCount }}

@else
LIVE BUSINESS OVERVIEW

Admin Dashboard

Customers, services, payments and renewals updated from current records.

{{ now()->format('d M Y, h:i A') }}
Customer Statistics
{{ $dashboard['customerStats']['total'] }}
{{ $dashboard['customerStats']['active'] }} Active{{ $dashboard['customerStats']['inactive'] }} Inactive
Service Statistics
{{ $dashboard['serviceStats']['total'] }}
{{ $dashboard['serviceStats']['completed'] }} Completed{{ $dashboard['serviceStats']['pending'] }} Pending
Revenue Summary
₹{{ number_format($dashboard['received'],2) }}
₹{{ number_format($dashboard['invoiced'],2) }} Invoiced₹{{ number_format($dashboard['outstanding'],2) }} Due

Pending Services

Services awaiting completion.

{{ $dashboard['pendingServices']->count() }}

Upcoming Appointments

Next scheduled customer visits.

{{ $dashboard['upcomingAppointments']->count() }}

Pending Payments

Invoices with outstanding payment.

{{ $dashboard['pendingPayments']->count() }}

AMC Renewal Alerts

Active contracts expiring within 30 days.

{{ $dashboard['amcRenewals']->count() }}
@endif @endsection