Skip to main content

Documentation 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.

The Statistics screen gives you a scrollable dashboard of your bakery’s performance. All data comes from a single API call to 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:
MetricWhat it measures
Total órdenesCumulative number of orders placed at your bakery
Ingresos totalesTotal revenue across all completed orders
Ticket promedioAverage order value (total revenue ÷ total orders)
HoyRevenue 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
Use the weekly figures to spot your busiest days and plan staffing or stock accordingly.

Top-selling products

If your bakery has sales data, a ranked list shows your best-selling products in descending order by units sold:
ColumnDescription
RankPosition #1 through #5
Emoji + nameProduct identifier
VendidosTotal units sold
RevenueTotal revenue generated by that product
This section only appears when the API returns at least one entry in 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:
StatusIndicator color
PENDINGAmber
CONFIRMEDPurple
BAKINGBlue
READYGreen
COMPLETEDGrey
CANCELLEDRed
Each row shows the status name and its count. This section helps you see at a glance whether orders are accumulating in any particular stage.

Data source

All statistics are fetched from:
GET /stats/bakery
The response includes 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

Build docs developers (and LLMs) love