@extends('layouts.admin') @section('title', 'Dashboard') @section('page_title', 'Dashboard') @section('content') {{-- ── TODAY STRIP ───────────────────────────────────────────────────────── --}}
Orders Today
{{ $ordersToday }}
{{ $ordersThisMonth }} this month
Revenue Today
KES {{ number_format($revenueToday) }}
KES {{ number_format($revenueThisWeek) }} this week
Pending Action
{{ $pendingOrders + $pendingPayment }}
{{ $pendingOrders }} orders · {{ $pendingPayment }} payments
Stock Alerts
{{ $outOfStock + $lowStock }}
{{ $outOfStock }} out · {{ $lowStock }} low (≤5)
{{ number_format($totalOrders) }}
Total Orders
KES {{ number_format($totalRevenue) }}
Total Revenue
KES {{ number_format($revenueThisMonth) }} this month
{{ number_format($totalProducts) }}
Active Products
{{ number_format($totalUsers) }}
Total Customers
@if($newCustomersWeek > 0)+{{ $newCustomersWeek }} this week
@endifAll caught up! No pending orders.
All products well stocked.