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

Edit contribution : wrong decimal separator on total_amount

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.7.14
    • Fix Version/s: 4.7.15
    • Component/s: CiviContribute
    • Labels:
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Core Team Funds
    • Verified?:
      No

      Description

      I am using civicrm 4.7.14 with a comma as decimal separator (config)

      If i renew a membership with a delayed payment a new contribution (pending) is created.
      Next, if i want to edit this contribution the total_amount is set with a "dot" separator.
      (this field is not editable in that use case)

      In consequence, submit the form is impossible and throw an error : " enter a valid amount "


      See attached patch.

        Attachments

          Activity

            People

            • Assignee:
              monish.deb Monish Deb
              Reporter:
              valfr35 Valéry Gouleau
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 15 minutes
                15m
                Remaining:
                Remaining Estimate - 15 minutes
                15m
                Logged:
                Time Spent - Not Specified
                Not Specified