{{ currentView }}
{{ today }}
{{ products.length }}
Total Products
{{ orders.length }}
Sales Orders
{{ customers.length }}
Customers
${{ formatNumber(totalRevenue) }}
Total Revenue
Monthly Revenue
Top Products
{{ product.name }}
{{ product.category }}
| Product | SKU | Category | Price | Stock | Status | Actions |
|---|---|---|---|---|---|---|
|
{{ product.name }}
|
{{ product.sku }} | {{ product.category }} | ${{ product.price }} | {{ product.stock_quantity }} | {{ getStockStatus(product).label }} |
| Order ID | Customer | Date | Items | Total | Status | Actions |
|---|---|---|---|---|---|---|
| #{{ order.id }} | {{ getCustomerName(order.customer_id) }} | {{ order.order_date }} | {{ order.items.length }} items | ${{ order.total_amount }} | {{ order.status }} |
{{ customer.name }}
{{ customer.email }}
{{ customer.phone }}
{{ customer.address }}
Orders: {{ getCustomerOrderCount(customer.id) }}
| Company | Contact | Phone | Actions | |
|---|---|---|---|---|
| {{ supplier.name }} | {{ supplier.contact_person || '-' }} | {{ supplier.email }} | {{ supplier.phone }} |
Sales by Category
Order Status Distribution
Low Stock Alerts
All products are well-stocked
{{ product.name }}
SKU: {{ product.sku }}
{{ product.stock_quantity }} left
Reorder at {{ product.reorder_level }}