Skip to main content
The Dashboard is your command center for monitoring StockPro’s key business metrics, sales performance, and inventory health at a glance.

Key Metrics

The dashboard displays four critical metrics that update in real-time:

Ventas Hoy

Today’s sales revenue with comparison to yesterday’s performance. Example: $8,450 with a 12% increase indicator.

Productos en Stock

Total product count in inventory: 1,284 units. Includes alerts for out-of-stock items.

Transacciones Hoy

Number of completed transactions: 47 sales with daily comparison metrics.

Ingresos del Mes

Monthly revenue summary: $124K with month-over-month percentage growth.
Each metric card includes trend indicators showing increases (▲) or decreases (▼) compared to the previous period, helping you quickly identify performance changes.

Low Stock Alert System

At the top of the dashboard, you’ll find the critical inventory alert system:
Alert Example: “⚠️ Alerta de stock bajo: 3 productos tienen menos de 5 unidades.”This banner automatically appears when products fall below their minimum stock threshold. Click “Ver productos” to navigate directly to the inventory page and view affected items.

Visualizations

Sales Performance Chart

The Ventas últimos 7 días card displays a bar chart visualization (powered by Chart.js) showing your sales trend over the past week. This helps you:
  • Identify peak sales days
  • Spot unusual drops in revenue
  • Plan inventory restocking
  • Adjust staffing for high-traffic periods

Inventory by Category

A pie chart showing product distribution across categories:
  • Audio
  • Electrónica
  • Periféricos
  • Accesorios
This visualization helps you understand which product categories dominate your inventory.

Top Products Section

The Productos más vendidos section ranks your best-selling items for the current month with progress bars indicating relative sales volume:
  1. Audífonos Bluetooth Pro - 324 units (85% bar)
  2. Cable USB-C 2m - 290 units (72% bar)
  3. Teclado Mecánico RGB - 215 units (54% bar)
  4. Mouse Inalámbrico - 180 units (45% bar)
  5. Hub USB 4 Puertos - 142 units (36% bar)
These insights help you identify which products to prioritize for restocking and promotions.

Recent Activity Feed

The Actividad Reciente panel shows the last 24 hours of system events with color-coded indicators:
  • Red dot: Sales transactions with ticket number, amount, and customer name
  • Blue dot: Inventory updates (stock additions or adjustments)
  • Green dot: New product additions
  • Orange dot: Low stock warnings

Activity Examples

🔴 Venta #1047 – $320.00 – María García (Hace 8 minutos)
🔵 Stock actualizado: Teclado Mecánico RGB (+50 uds.) (Hace 32 minutos)
🔴 Venta #1046 – $145.00 – Carlos López (Hace 1 hora)
🟢 Producto nuevo: Hub USB 4 Puertos agregado (Hace 2 horas)
🟠 ⚠️ Stock bajo: Audífonos In-Ear (2 uds.) (Hace 3 horas)
The activity feed provides timestamp information relative to the current time, making it easy to track when events occurred.

Quick Actions

From the dashboard header, you have instant access to:
  • 🔔 Notifications - System alerts and updates
  • ❓ Help - Quick access to support resources
  • + Nueva Venta - Jump directly to the POS system
  • Cerrar Sesión - Secure logout
The sidebar provides organized access to all system modules: Principal
  • Dashboard (current page)
Inventario
  • Productos - View and manage inventory
  • Nuevo Producto - Add new items
Ventas
  • Registro de Ventas - Sales history
  • Nueva Venta - POS system

User Profile

The sidebar footer displays the current logged-in user information:
  • User avatar (first letter of name)
  • Full name
  • Email address
This ensures you always know which account is active in the system.
The dashboard automatically updates when sales are processed or inventory changes are made, providing real-time visibility into your business operations.

Build docs developers (and LLMs) love