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

Fix invoice math for partial payments

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.7.18, 4.6.27
    • Fix Version/s: 4.7.19
    • Component/s: None
    • Labels:
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Contributed Code
    • Verified?:
      Yes

      Description

      InvoiceMathPartialPaymentsIsWrong.png

      See screenshot - math is wrong;
      OK the root issue appears to be in this line of code:
      $amountDue = ($input['amount'] - $input['amount']);

      Fixed it - PR shortly
       

       

        Attachments

          Activity

            People

            • Assignee:
              KarinG KarinG
              Reporter:
              KarinG KarinG
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: