Dashboard Features
The PixelTech admin dashboard provides real-time operational insights and centralized management of your e-commerce business. Built on Firebase with real-time listeners, the dashboard automatically updates as orders, payments, and inventory changes occur.Key Metrics
The dashboard displays five critical KPIs that update in real-time:Total Sales
Aggregated revenue from paid, shipped, and delivered orders
Treasury Balance
Combined balance across all bank accounts and cash registers
Pending Orders
Priority count of orders awaiting fulfillment
Accounts Receivable
Outstanding customer payments and partial balances
Real-Time Order Management
Orders are automatically categorized by urgency based on a configurable cutoff time (default: 2:30 PM):- Orders placed before cutoff → Ship today
- Orders placed after cutoff → Ship next business day
Smart Real-Time Cache
The dashboard implements an intelligent caching system that minimizes Firebase reads:Performance Optimization: Only changed documents trigger updates, reducing unnecessary reads by up to 90%.
User Roles and Permissions
Firestore security rules enforce role-based access control:Admin Role
- Full CRUD operations on all collections
- Access to financial reports and treasury
- Inventory management and pricing
- Order status modifications
- Customer data management
- WhatsApp CRM access
Customer Role
Regular users have restricted access:- Read-only access to products catalog
- Manage own orders and profile
- Update stock quantities (system operations only)
- Cannot modify prices or sensitive data
Navigation Structure
The admin sidebar (admin-ui.js) provides organized access to all modules:
Quick Actions
The dashboard header provides instant access to critical functions:Next Steps
Inventory Management
Learn how to manage products and stock
Order Fulfillment
Process and ship customer orders
WhatsApp CRM
Manage customer conversations
Financial Reports
Track revenue and expenses