Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Report on stock sold over time #274

Open
sde1000 opened this issue Jan 16, 2024 · 0 comments
Open

Report on stock sold over time #274

sde1000 opened this issue Jan 16, 2024 · 0 comments
Labels
enhancement web Relates to web interface

Comments

@sde1000
Copy link
Owner

sde1000 commented Jan 16, 2024

The "stock sold by type" report shows a single quantity sold for the period of the report.

It would be useful to be able to produce a report showing how the amount sold varies over time. This would have stock types as rows, and after the row header would have date ranges as columns. Daily, weekly, monthly and yearly would all be useful date ranges.

Internally this report is going to be quite different to the "stock sold by type" report — it may as well be separate code.

(Implementation note: use a CTE to produce the date ranges for columns so we're not stuck doing min(date) and max(date) within each group.)

@sde1000 sde1000 added enhancement web Relates to web interface labels Jan 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement web Relates to web interface
Projects
None yet
Development

No branches or pull requests

1 participant