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

Contribution Summary Report: Taking the currency filtered in the "gen… #16736

Merged
merged 1 commit into from
Jul 20, 2020

Conversation

muniodiego
Copy link
Contributor

@muniodiego muniodiego commented Mar 10, 2020

…eral total" row. Implements dev/report#27

Overview

Contribution Summary Report: Taking the currency filtered in the "general total" row

Before

When the contribution summary report is used by filtering for a currency other than the site's default currency, the "grand total" row shows the sign of the default currency instead of the filtered currency.
image

After

image

Technical Details

Comments

@civicrm-builder
Copy link

Can one of the admins verify this patch?

@civibot
Copy link

civibot bot commented Mar 10, 2020

(Standard links)

@civibot civibot bot added the master label Mar 10, 2020
@muniodiego muniodiego closed this Mar 10, 2020
@muniodiego muniodiego reopened this Mar 10, 2020
@eileenmcnaughton
Copy link
Contributor

@lucianov88 this looks like something you might be interested in reviewing?

@eileenmcnaughton
Copy link
Contributor

I tested this and it works in this scenario but it is still flawed - without the filter I think it would use the currency of the last donation (& they are all jumbled in together. However, the same approach is used elsewhere within the file so it is at least consistent - as well as solving this specific scenario.

Obviously I'd prefer a test but I think this can be viewed as a standardisation & sneak through

@eileenmcnaughton eileenmcnaughton merged commit ade6fb6 into civicrm:master Jul 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants