Paradaux

PAR-178

0

/firm sales summary <firm> [days] — aggregate sales report (new; no legacy equivalent)

PlannedNormalUnassignedBusinessFeature

Part of PAR-175 (firm sales commands). A "better than legacy" addition — PlayerBusinesses had no aggregate view.

/firm sales summary <firm> [days] — an at-a-glance report over a window (default e.g. 7 or 30 days): total revenue, total units sold, number of sales, tax paid, split by BUY vs SELL, top items (by volume/revenue) and top customers. Backed by the aggregate methods on the sales-query API (sub-issue of PAR-175), computed in SQL over chestshop_sale (indexed by firm/time/item/customer), not by pulling every row into the plugin.

Access: same role gating as /firm sales. Tab-complete firms the sender can view.

This is the in-game counterpart to the explorer's per-firm market page — keep the numbers consistent with what economy-explorer shows.

Depends on: PAR-175 read API (aggregates).

Resources

Comments

No comments yet.

Activity

  • ParadauxIO linked a pull request — PR #2 open — Last major release
  • ParadauxIO linked a pull request — PR #2 open — Last major release
  • ParadauxIO linked a pull request — PR #2 open — Last major release
  • ParadauxIO linked a pull request — PR #2 open — Last major release
  • ParadauxIO linked a pull request — PR #2 open — Last major release
  • ParadauxIO linked a pull request — PR #2 open — Last major release
  • ParadauxIO linked a pull request — PR #2 open — Last major release
  • ParadauxIO linked a commit — Commit 970f294 — Add /firm sales list + summary commands (PAR-177, PAR-178)
  • tesks changed status to Status → Planned
  • tesks created the issue