Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-21074

Contribution Net Amount does not fill in automatically when Additional Details section is expanded

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 4.7.0, 4.7.22
    • Fix Version/s: None
    • Component/s: CiviContribute
    • Labels:
      None
    • Versioning Impact:
      Minor (add functionality in backwards-compatible manner)
    • Documentation Required?:
      None
    • Funding Source:
      Needs Funding
    • Verified?:
      No

      Description

      When entering a Contribution with just the basic fields in view, the Non-deductible Amount and Fee Amount fill in automatically with $0 and the Net Amount fills in with [Total Amount - Fee Amount]. However, if the "Additional Details" section is expanded to show these three fields, only the Non-deductible Amount is automatically completed. It isn't a much of a problem when the Fee Amount is left null, but when the Net Amount is left null upon saving the Contribution, this is incorrect and can cause problems with searching and reporting. (i.e. a search for Net Amount > 10 will not return the expected Contributions.)

      What is especially confusing about this is that there are two different behaviors for the field: 1) the Net Amount is automatically filled in unless 2) the Additional Details section is expanded, so typical users are likely to expect Net Amounts are accurate for all contributions, not just for contributions that have a fee amount.

      Is there even any reason why Net Amount is an editable field? In what case would it not be Total Amount - Fee Amount?

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              PhilMorBru Phil Morice Brubaker
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: