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

          jonathan Jonathan Reissmueller created issue -
          jonathan Jonathan Reissmueller made changes -
          Field Original Value New Value
          Remaining Estimate 0 minutes [ 0 ]
          Time Spent 55 minutes [ 3300 ]
          Worklog Id 12372 [ 12372 ]
          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.
          jonathan Jonathan Reissmueller made changes -
          Sprint 4.7.0 Sprint 1 [ 76 ]
          jonathan Jonathan Reissmueller made changes -
          Rank Ranked higher
          jonathan Jonathan Reissmueller made changes -
          Assignee Jonathan Reissmueller [ jonathan ]
          Automated transition triggered when Jonathan Reissmueller created a branch in Stash -
          Status Open [ 1 ] In Progress [ 3 ]
          jonathan Jonathan Reissmueller made changes -
          Time Spent 55 minutes [ 3300 ] 2 hours [ 7200 ]
          Worklog Id 12373 [ 12373 ]
          Automated transition triggered when Jonathan Reissmueller created pull request #700 in Stash -
          Status In Progress [ 3 ] In Review [ 5 ]
          Resolution Fixed [ 1 ]
          tyson Tyson Phillips (Inactive) made changes -
          Fix Version/s 4.6.1 [ 11124 ]
          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 .
          tyson Tyson Phillips (Inactive) made changes -
          Link This issue relates to CORE-3036 [ CORE-3036 ]
          tyson Tyson Phillips (Inactive) made changes -
          Rank Ranked higher
          Automated transition triggered when Tyson Phillips (Inactive) merged pull request #700 in Stash -
          Status In Review [ 5 ] Closed [ 6 ]
          tyson Tyson Phillips (Inactive) made changes -
          Resolution Fixed [ 1 ]
          Status Closed [ 6 ] Reopened [ 4 ]
          tyson Tyson Phillips (Inactive) made changes -
          Fix Version/s 4.7.0-b1 [ 11123 ]
          tyson Tyson Phillips (Inactive) made changes -
          Status Reopened [ 4 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]

            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