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

Contribution Offline form throws validation error for net amount

    Details

    • Type: Bug
    • Status: Open
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: 4.7.18
    • Fix Version/s: 4.7.18
    • Component/s: None
    • Labels:
      None
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Needs Funding
    • Verified?:
      No

      Description

      When we try to update a contribution using offline Contribution form, we get validation error 'The sum of fee amount and net amount must be equal to total amount'.

      To replicate:
      Enable Sales tax
      Define sales tax relationship between Financial Type and Financial Account (Having 10% tax rate)
      Add contribution for $100 using contribution form(Total amount will be 100 + 10 = 110)
      Update contribution using offline contribution form. Without making any changes in form tried to submit.

      Expected :
      Form Submitted Successfully.

      Actual:
      validation error 'The sum of fee amount and net amount must be equal to total amount'.

      Regression:
      https://issues.civicrm.org/jira/browse/CRM-19966
      https://github.com/civicrm/civicrm-core/pull/9948

        Attachments

          Activity

            People

            • Assignee:
              pradeep.nayak Pradeep Nayak
              Reporter:
              pradeep.nayak Pradeep Nayak
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: