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

        jonathan Jonathan Reissmueller created issue -
        jonathan Jonathan Reissmueller made changes -
        Field Original Value New Value
        Sprint 5.2.0 Sprint 3 [ 140 ]
        jonathan Jonathan Reissmueller made changes -
        Rank Ranked higher
        jonathan Jonathan Reissmueller made changes -
        Rank Ranked higher
        jonathan Jonathan Reissmueller made changes -
        Fix Version/s 5.1.2 [ 11715 ]
        Fix Version/s 5.2.0-b1 [ 11709 ]
        jonathan Jonathan Reissmueller made changes -
        Fix Version/s 5.2.0-b1 [ 11709 ]
        Fix Version/s 5.1.2 [ 11715 ]
        jonathan Jonathan Reissmueller made changes -
        Assignee Jonathan Reissmueller [ jonathan ]
        jonathan Jonathan Reissmueller made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        jonathan Jonathan Reissmueller made changes -
        Remaining Estimate 0 minutes [ 0 ]
        Time Spent 3 hours, 21 minutes [ 12060 ]
        Worklog Id 15150 [ 15150 ]
        jonathan Jonathan Reissmueller made changes -
        Status In Progress [ 3 ] In Review [ 5 ]
        Resolution Fixed [ 1 ]
        jonathan Jonathan Reissmueller made changes -
        Status In Review [ 5 ] Closed [ 6 ]
        jonathan Jonathan Reissmueller made changes -
        Resolution Fixed [ 1 ]
        Status Closed [ 6 ] Reopened [ 4 ]
        jonathan Jonathan Reissmueller made changes -
        Fix Version/s 5.1.3 [ 11716 ]
        jonathan Jonathan Reissmueller made changes -
        Status Reopened [ 4 ] In Progress [ 3 ]
        jonathan Jonathan Reissmueller made changes -
        Status In Progress [ 3 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]

          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