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

"installments of" calculation in pledge form confused by thousands seperator and non-dot decimal seperator

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.3.5, 3.4.0
    • Fix Version/s: 3.4.2
    • Component/s: CiviContribute
    • Labels:
      None

      Description

      The javascript code that calculates the amount per installment from the total pledge amount and number of installments takes care of using the configured thousands and decimal seperators on generating its output but is utterly confused by anything but a dot as decimal seperator

      Suggested fix: replace configured thousands seperator with nothing and the configured decimal seperator with '.' before going on with the calculation

        Attachments

        1. patch.txt
          0.6 kB
          Hartmut Holzgraefe

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              hholzgra Hartmut Holzgraefe
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: