@extends('layouts.admin', ['heading' => 'Dashboard']) @section('content')
@foreach ([['Revenue Today', 'R'.number_format($revenueToday, 2)], ['Revenue Month', 'R'.number_format($revenueMonth, 2)], ['Orders Today', $ordersToday], ['Orders Month', $ordersMonth], ['Pending Orders', $pendingOrders], ['Customers', $customers], ['Products', $products], ['Low Stock', $lowStock], ['Out of Stock', $outOfStock]] as [$label, $value])
{{ $label }}
{{ $value }}
@endforeach

Reporting

Sales by day, month, status, category and top sellers are loaded from order tables and ready for chart integration.

@endsection