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

Contribution receipt has incorrect total amount, no sales tax section or amount just prior to it

    Details

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

      Description

      From testing by Pradeep https://github.com/civicrm/civicrm-core/pull/9948#issuecomment-285710742 March 10 (probably needs re-verification):
      1. Contribution Receipts
      Test Case:
      1. Added contribution for $100 using contribution form. Checked Contribution receipt - looks good
      2. Updated contribution #1 using contribution form. Checked Contribution receipt - looks good
      3. Added contribution for $100 using contribution form with Sales Tax enabled. Checked Contribution receipt - looks good
      4. Updated contribution #3 using contribution form with Sales Tax enabled. Checked Contribution receipt - looks good
      5. Added contribution using contribution form using priceset having Checkbox, Radio, Text and Select field. Checked Contribution receipt - looks good
      6. Updated contribution #5 using contribution form. Checked Contribution receipt - looks good
      7. Added contribution using contribution form using priceset having Checkbox, Radio, Text and Select field with Sales Tax enabled. Checked Contribution receipt - looks good. Attached CreateContributionReceipt.png
      **8. Updated contribution #7 using contribution form with Sales Tax enabled. Checked Contribution receipt - some tax info missing. Attached UpdateContributionReceipt.png
      – Total amount is shown wrong
      – Sales Tax section is missing
      – Amount before tax section missing
      Change to code at line 1804 has caused the regression.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                joemurray Joe Murray
              • Votes:
                1 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: