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

Invoice price might differ from displayed renewal price

    Details

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

      Description

      There may be a discrepancy between the renewal invoice and the renewal price shown in the services widget. Both use the pricing presenter, but one uses the service presenter and one uses the invoice presenter. Probably a rounding error.

        Issue Links

          Activity

          Hide
          jonathan Jonathan Reissmueller added a comment -

          As far as I can tell, the only thing that is different is how the discounts are handled. Since invoices store the discount as a line item, it is rounded before taxes are applied. When we are calculating the service renewal price the discount is calculated on a per item basis and is then taxed before being rounded. I think this difference accounts for the discrepancy.

          Show
          jonathan Jonathan Reissmueller added a comment - As far as I can tell, the only thing that is different is how the discounts are handled. Since invoices store the discount as a line item, it is rounded before taxes are applied. When we are calculating the service renewal price the discount is calculated on a per item basis and is then taxed before being rounded. I think this difference accounts for the discrepancy.
          Hide
          tyson Tyson Phillips (Inactive) added a comment -

          You should set a version for the task.

          It also sounds like this relates to CORE-3036.

          Show
          tyson Tyson Phillips (Inactive) added a comment - You should set a version for the task. It also sounds like this relates to CORE-3036 .

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                5/Sep/19

                Time Tracking

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

                  Agile