@extends('admin.layout.template') @section('title','Dashboard') @section('content')
{{-- ================= DASHBOARD SUMMARY ================= --}}

Today Revenue

₹ {{ number_format($todayRevenue,2) }}

Today Orders

{{ $todayOrders }}

Monthly Revenue

₹ {{ number_format($monthlyRevenue,2) }}

Active Projects

{{ $activeProjects }}

{{-- ================= SECOND ROW ================= --}}

Pending Quotations

{{ $pendingQuotations }}

Low Stock Products

{{ $lowStockProducts }}

Pending Approvals

{{ $pendingApprovals }}

Total Customers

{{ $totalCustomers }}

{{-- ================= SALES SNAPSHOT ================= --}}

Sales Snapshot

Top Selling Products
    @foreach($topProducts as $product)
  • {{ $product->name }} {{ $product->total }}
  • @endforeach
{{-- ================= ORDERS QUICK VIEW ================= --}}
{{-- ================= PROJECT STATUS ================= --}}

Project Status

  • Total Projects {{ $totalProjects }}
  • In Progress {{ $projectsProgress }}
  • Completed {{ $projectsCompleted }}
  • Pending Material {{ $pendingMaterial }}
  • Pending Installation {{ $pendingInstallation }}
{{-- ================= QUOTATION SECTION ================= --}}

Quotation Quick View

  • Sent Today {{ $quotationToday }}
  • Pending Approval {{ $quotationPending }}
  • Approved {{ $quotationApproved }}
  • Converted to Orders {{ $quotationConverted }}
{{-- ================= ACTIVITY FEED ================= --}}

Activity Feed

    @foreach($activities as $activity)
  • {{ $activity->event_type }}
    {{ $activity->description }}
  • @endforeach
{{-- ================= ALERTS ================= --}}

Alerts

    @if($pendingQuotations>0)
  • ⚠ Quotations Pending Approval
  • @endif @if($projectDelays>0)
  • ⚠ Project Delays
  • @endif @if($lowStockProducts>0)
  • ⚠ Low Stock Products
  • @endif
{{-- ================= CHART ================= --}} @endsection