Purchase summary report should show total items purchased. Ideally also total spent on diapers, period supplies, etc.
Summary
Add more info (see details) to the Purchase Summary Report
Why?
More useful report
Details
The purchase summary report is accessible by signing in as [email protected], then clicking Reports and then Purchases - Summary
Please add the following information before "Recent purchases". Each of these is a field on the purchases that needs to be summed up.
Total spent on diapers: -- sum of the amount spent on diapers on all purchases during the filter time period Total spent on period supplies: sum of the amount spent on period supplies on all purchases during the filter time period Total spent on adult incontinence: -- sum of the amount spent on adult incontinence on all purchases during the filter time period Total spent on other: -- sum of the amount spent on other on all purchases during the filter time period Total Items -- total number of items purchased during the filter time period
Criteria for completion
- [ ] behaviour as above
- [ ] automated tests confirming behaviour as above
@cielf Hi, I want to take it!
You may have it!
Hi @cielf That is what it would look like,
what do you think?
@manuel1280 Looks pretty good to me -- I might move the total items down a line, because the prices form a natural group, but I wouldn't reject the PR if it wasn't.
@cielf PR is done, I hope the Queries for the new data are correct