@extends('layouts.admin') @section('title', 'Dashboard') @section('content')
Total Sales (Paid)
₹{{ number_format($salesTotal, 2) }}
Orders
{{ $orderCount }}
Customers
{{ $customerCount }}
Products
{{ $productCount }}
| Order | Customer | Total | Status |
|---|---|---|---|
| {{ $order->order_number }} | {{ $order->user->name }} | ₹{{ number_format($order->total, 2) }} | {{ str_replace('_',' ',$order->order_status) }} |
| Product | Qty Sold |
|---|---|
| {{ $row->product_name }} | {{ $row->qty }} |