Uploaded image for project: 'PUBLIC - Liferay Commerce'
  1. PUBLIC - Liferay Commerce
  2. COMMERCE-2358

Support localization of tax and discount number formats

    Details

      Description

      When configuring tax and discount percentages, provide support for localizations that use commas instead of decimals.  

      For example, if you have set the locale to a locale that uses the comma as a radix point (German is an example), you could enter a tax rate of 10,5%.  Currently you would have to enter a tax rate of 10.5%.  

      Testing Notes

      Test the following inputs

      Input Expected Output
      1 1,00
      10 10,00
      1,1 1,10
      1,14 1,14

      In the following places:

      1. Tax Calculation By Address, Tax Rate Table
      2. Tax Calculation By Address, New Tax Rate Modal
      3. Tax Calculation Fixed Rate, Tax Rate Table
      4. Tax Calculation Fixed Rate, New Tax Rate Modal
      5. Discount Edit Screen

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              lorenzo.lapescara Lorenzo La Pescara
              Reporter:
              jeffrey.handa Jeffrey P. Handa
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  2.1.2