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

Quick Actions

New Quotation Add Product View Orders
{{ number_format($stats['total_products']) }}
Total Products
{{ number_format($stats['total_orders']) }}
Total Orders
{{ number_format($stats['total_customers']) }}
Customers
KSh {{ number_format($stats['total_revenue'], 2) }}
Total Revenue
{{ number_format($stats['pending_orders']) }}
Pending Orders
{{ number_format($stats['low_stock_products']) }}
Low Stock Products
{{ number_format($stats['out_of_stock']) }}
Out of Stock
{{ number_format($stats['active_quotations']) }}
Active Quotations

Recent Orders

View All
@forelse($recentOrders as $order) @empty @endforelse
Order # Customer Total Status
{{ $order->order_number }} {{ $order->customer_name }} KSh {{ number_format($order->total, 2) }} {{ $order->status_badge['label'] }}
No orders yet

Top Products

View All
@forelse($topProducts as $product) @empty @endforelse
Product Price Orders
{{ Str::limit($product->name, 30) }} KSh {{ number_format($product->price, 2) }} {{ $product->order_items_count }}
No products yet

Recent Quotations

View All
@forelse($recentQuotations as $quotation) @empty @endforelse
Quotation # Customer Total Status Valid Until
{{ $quotation->quotation_number }} {{ $quotation->customer_name }} KSh {{ number_format($quotation->total, 2) }} {{ $quotation->status_badge['label'] }} {{ $quotation->valid_until?->format('M d, Y') ?? '-' }}
No quotations yet
@endsection