Page 1 of 1

Re: Show sales of the last year

Posted: 19 Aug 2019, 12:11
by aimeos
Which kind of aggregation should be done?
- Single number of all orders within 365 days?
- Graph of all sales by day within 365 days?

You can have a look at the dashboard JS for the sales of the last 30 days if you need a graph.
Otherwise, you can use aggregate() to sum up all sales of the last 365 days.

https://github.com/aimeos/ai-admin-jqad ... d-sales.js