Dashboard
High-level metrics for admins — environmental impact, financial summary, recent orders.
Where to find it
Admin: /commerce/dashboard
Top cards
- Today's revenue — gross revenue + order count for today
- Monthly revenue — for current month
- Pending orders — orders awaiting fulfillment
- Active catalog — active product + variant counts, total inventory
Environmental impact (if buyback enabled)
Uses ehs__device_types constants for CO2/weight calculations:
- CO2 avoided (kg) = reused_count × co2Reuse + recycled_count × co2Reuse × (co2RecyclePercent / 100)
- Cars equivalent = CO2 ÷ 4600
- Trees equivalent = CO2 ÷ 22
- Tons recycled = totalWeightKg ÷ 1000
Financial summary
- Buyback sales — sum of approved quote values
- Recycling payout — purchase prices of recycled devices
- Repair savings — revenue minus parts cost for completed repairs
- Commerce sales — count of non-cancelled orders
Charts
- Environmental impact donut (reused / repaired / recycled)
- Device processing donut (processing / ready for sale / sold / recycled)
Recent orders
Table of the last 15 orders with order number, email, total, status, payment, date.
Quick actions
Shortcut buttons to common pages:
- New Quote
- View Quotes
- View Batches
- New Repair Quote
Related features
- Advanced Reports
- Portal Dashboard — vendor-scoped version