Show sales of the last year

Questions around the TYPO3 integration and plugins
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
User avatar
aimeos
Administrator
Posts: 7836
Joined: 01 Jan 1970, 00:00

Re: Show sales of the last year

Post by aimeos » 19 Aug 2019, 12:11

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
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply