Uploaded image for project: 'Blesta Core'
  1. Blesta Core
  2. CORE-4378

Override price preview does not do currency conversion

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.1.3, 5.2.0-b1
    • Component/s: None
    • Labels:
      None

      Description

      CORE-4175 attempted a fix and failed because it used a wrong understanding of exchange rates. It assumes that an exchange rate of .5 means that the currency has a value .5 that of a USD. In reality, a .5 exchange rate means that a USD is worth .5 of the currency.

      To reproduce:

      • Create a "HLF" currency with an exchange rate of 2 (meaning 2 HLF = 1 USD)
      • Create a service with a USD pricing
      • Edit the service
      • Select the "HLF" currency as the override currency and set the override price to twice that of the current price
      • Look at the totals preview box and see that instead of 0 it shows numeric difference between to two prices

        Activity

          People

          • Assignee:
            jonathan Jonathan Reissmueller
            Reporter:
            jonathan Jonathan Reissmueller
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              24/Aug/21

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 3 hours, 21 minutes
              3h 21m

                Agile