The Statistics screen gives you a scrollable dashboard of your bakery’s performance. All data comes from a single API call toDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/AndrewwCO/Pana-Baker/llms.txt
Use this file to discover all available pages before exploring further.
GET /stats/bakery and is loaded when you open the screen. Pull down anywhere on the screen to refresh the data manually.
Summary metrics
The top section shows four key numbers in a two-column grid:| Metric | What it measures |
|---|---|
| Total órdenes | Cumulative number of orders placed at your bakery |
| Ingresos totales | Total revenue across all completed orders |
| Ticket promedio | Average order value (total revenue ÷ total orders) |
| Hoy | Revenue earned today |
Today vs. this week
Below the summary grid, a comparison card breaks down recent activity:- Órdenes hoy — number of orders placed today
- Órdenes esta semana — number of orders placed in the current week
- Ingresos esta semana — total revenue for the current week
Top-selling products
If your bakery has sales data, a ranked list shows your best-selling products in descending order by units sold:| Column | Description |
|---|---|
| Rank | Position #1 through #5 |
| Emoji + name | Product identifier |
| Vendidos | Total units sold |
| Revenue | Total revenue generated by that product |
topProducts.
Hourly order activity
A bar chart plots how many orders arrived during each hour of the day. Each bar is proportional to the busiest hour — the tallest bar always reaches the full chart height, and quieter hours scale down relative to it. The hour label (e.g.9h, 14h) appears below each bar, and the count appears above bars with at least one order.
The hourly chart only renders when the API returns data in
ordersByHour. If no orders have been placed yet, this section is hidden.Order status breakdown
A list shows the count of orders in each status:| Status | Indicator color |
|---|---|
| PENDING | Amber |
| CONFIRMED | Purple |
| BAKING | Blue |
| READY | Green |
| COMPLETED | Grey |
| CANCELLED | Red |
Data source
All statistics are fetched from:totalOrders, totalRevenue, averageOrderValue, revenueToday, ordersToday, ordersThisWeek, revenueThisWeek, topProducts, ordersByHour, and ordersByStatus.
Orders
Manage the orders that feed these statistics
Promotions
Run deals and track their revenue impact