Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
C
Core
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 930
    • Issues 930
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
  • Development
  • Core
  • Issues
  • #552

Closed
Open
Opened Nov 28, 2018 by ayduns@aydunsDeveloper

Contribution net amount not re-calculated when fee amount is changed

When a contribution is edited and the fee amount changed, the net amount is not being recalculated.

Scenario 1:
Go to a contact summary
Contributions > Record Contribution
Choose a financial type
Enter amount as 100
Expand Additional Details section
(Incidentally note stray help text "Net value of the contribution (Total Amount minus Fee)")
Enter Fee Amount as 1.23
Save

View the Contribution just created and note Total amount = $100, Fee amount $1.23, Net amount $98.77 -> Correct

Scenario 2:
Go to a contact summary
Contributions > Record Contribution
Choose a financial type
Enter amount as 100
Save

View the Contribution just created and note Total amount = $100, Fee amount $0, Net amount $100 -> Correct

Now edit the contribution
Expand Additional Details section
Enter Fee Amount as 1.23
Save

View the Contribution just created a note Total amount = $100, Fee amount $1.23, Net amount $100 -> Total and Fee amounts are correct, but the Net amount is not recalculated.

May be related to https://github.com/civicrm/civicrm-core/pull/12662

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
5.8
Milestone
5.8 (Past due)
Assign milestone
Time tracking
None
Due date
None
Reference: dev/core#552