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

Add new purchase information on summary report view #4723

Merged

Conversation

manuel1280
Copy link
Contributor

Resolves #4680

Description

this is additional information for the purchase reports, it includes :
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

Type

  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

  • I modified the existing tests for that view
  • I tested manually

Screenshots

Screenshot from 2024-10-16 15-32-46

app/controllers/reports_controller.rb Outdated Show resolved Hide resolved
@cielf cielf self-requested a review October 23, 2024 14:51
Copy link
Collaborator

@cielf cielf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This passed my functional review.

@manuel1280 manuel1280 force-pushed the 4680-modify-purchases-summary-report branch from 3b795fa to 2e09e55 Compare November 6, 2024 03:21
@manuel1280 manuel1280 force-pushed the 4680-modify-purchases-summary-report branch from 2e09e55 to 32ae369 Compare November 6, 2024 04:31
@dorner dorner merged commit c7fbbe5 into rubyforgood:main Nov 7, 2024
11 checks passed
@dorner
Copy link
Collaborator

dorner commented Nov 7, 2024

Looks good, thanks!

Copy link
Contributor

@manuel1280: Your PR Add new purchase information on summary report view is part of today's Human Essentials production release: 2024.11.10.
Thank you very much for your contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants