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

dev/core#1775 Fix fee amount reversals when doing a change of financi… #17386

Merged
merged 1 commit into from
May 25, 2020

Conversation

seamuslee001
Copy link
Contributor

…al type

Overview

This fixes an issue where by if you have a fee amount recorded for a contribution and then you do a change financial type for that contribution, the fee amount is not properly reversed in the database so the net_amount in the financial transaction is off

Before

Fee amount not properly reversed

After

Fee amount correctly reversed when doing a change of financial type

ping @eileenmcnaughton @jitendrapurohit @monishdeb @JoeMurray

@civibot
Copy link

civibot bot commented May 25, 2020

(Standard links)

@civibot civibot bot added the master label May 25, 2020
@eileenmcnaughton
Copy link
Contributor

This seems sensible to me - I'm not a fan of the test function _checkFinancialTrxn it feels like a hack but it's non-blocking

@eileenmcnaughton eileenmcnaughton merged commit 29a34de into civicrm:master May 25, 2020
@seamuslee001 seamuslee001 deleted the dev_core_1775 branch May 25, 2020 22:53
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.

2 participants