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

"Money" custom fields are not properly formatted

    Details

    • Type: Patch
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.0.5
    • Fix Version/s: 4.1.0
    • Component/s: None
    • Labels:
      None

      Description

      The value of custom fields of type "Money" is not formatted when displayed on screen.

      e.g. 100000 should be displayed: 100,000

      and this should respect the Localization settings.

      Note that I did not include the currency (i.e. crmMoney) because I don't think that custom money fields have multiple currency support.

      Mathieu / bgm

        Attachments

        1. civicrm-crmnumberformat.patch
          0.7 kB
          Mathieu Lutfy
        2. civicrm-custommoney.patch
          0.9 kB
          Mathieu Lutfy

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              mlutfy Mathieu Lutfy
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: