Add shop sales dashboard with 30-day charts #3

Closed
opened 2026-09-06 08:32:42 -07:00 by westfarn · 1 comment
Owner

Summary

Add a portal sales dashboard for FEATURE_SHOP: 30-day order/revenue charts, top products, and home-dashboard stats. Same feature as the web_django_template sales-dashboard ticket.

Scope

  • Portal Retail nav: Sales/portal/shop/sales/
  • Paid + fulfilled orders in the last 30 days (count, revenue, units, AOV)
  • Charts: orders/day, revenue/day, top products
  • Home dashboard 30-day sales/revenue cards

Test plan

  • Sales page requires login
  • Empty state when no paid orders
  • In-window paid/fulfilled counted; unpaid/old excluded
  • manage.py test shop
## Summary Add a portal sales dashboard for FEATURE_SHOP: 30-day order/revenue charts, top products, and home-dashboard stats. Same feature as the web_django_template sales-dashboard ticket. ## Scope - Portal Retail nav: **Sales** → `/portal/shop/sales/` - Paid + fulfilled orders in the last 30 days (count, revenue, units, AOV) - Charts: orders/day, revenue/day, top products - Home dashboard 30-day sales/revenue cards ## Test plan - [ ] Sales page requires login - [ ] Empty state when no paid orders - [ ] In-window paid/fulfilled counted; unpaid/old excluded - [ ] `manage.py test shop`
westfarn self-assigned this 2026-09-06 08:32:42 -07:00
Author
Owner

PR: #4

Template ticket: westfarn/web_django_template#7

PR: https://git.aimloperations.com/ai_ml_operations/print_forge/pulls/4 Template ticket: https://git.aimloperations.com/westfarn/web_django_template/issues/7
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ai_ml_operations/print_forge#3