@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

{{-- ================= ALERTS ================= --}}
⚠ Alerts
{{-- ================= ORDERS QUICK VIEW ================= --}}
{{-- ================= TOP SELLING PRODUCT ================= --}} {{-- ================= ACTIVITY FEED ================= --}}
Activity Feed
    @foreach($activities as $activity)
  • {{ $activity->event_type }} {{ $activity->created_at->diffForHumans() }}

    {{ $activity->description }}

  • @endforeach
{{-- ================= QUOTATION SECTION ================= --}}
{{-- ================= QUOTATION QUICK VIEW ================= --}}
Quotation Quick View
  • Sent Today {{ $quotationToday }}
  • Pending Approval {{ $quotationPending }}
  • Approved {{ $quotationApproved }}
  • Converted to Orders {{ $quotationConverted }}
{{-- ================= PROJECT STATUS ================= --}}
Project Status
  • Total Projects {{ $totalProjects }}
  • In Progress {{ $projectsProgress }}
  • Completed {{ $projectsCompleted }}
  • Pending Material {{ $pendingMaterial }}
  • Pending Installation {{ $pendingInstallation }}
@if($hasNotificationPermission && count($notifications)) @endif {{-- ================= CHART ================= --}} @endsection