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

Pledge Balance Based on Expected Installments vs. Actual Payments Caused Incorrect Balance Calculations

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Duplicate
    • Affects Version/s: 4.4.7, 4.6.9
    • Fix Version/s: Unscheduled
    • Component/s: CiviPledge
    • Labels:
      None
    • Documentation Required?:
      None
    • Funding Source:
      Needs Funding

      Description

      This issue was reproduced in the 4.6.9 demo environment - link to pledge is: http://d46.demo.civicrm.org/civicrm/contact/view/pledge?reset=1&action=update&id=5&cid=202&context=pledge&key=dc985d84e52387b8136e24d24947309a_1350, screen shot also attached in case it gets wiped before you are able to view it.

      To reproduce:

      1. Create a new pledge for a total of $100 to be paid in 12 monthly installments (calculated as 8.33)
      2. Record a payment of $100 against the first installment > this results in a balance of 4 cents left because 8.33 x 12 = 99.96

      Perhaps a validation should be included in the pledge balance calculation along the lines of if paid amount = pledge total amount, DO NOT calculate balance based on pledge total less expected installments, then mark as complete?

      Thanks as always!

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                tamar Tamar Meir
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: