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

New tax type that is included in package prices (inclusive tax)

    Details

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

      Description

      Tax Settings

      • Rename the current "Inclusive" tax type to "Inclusive (Additive)"
      • Add a new tax type at the top of the list called "Inclusive"
      • Update the text of the Tax Type tooltip with the following:

        Inclusive will calculate tax as a part of the item prices you set.
        Inclusive (Additive) will calculate tax in addition to the item prices you set.
        Exclusive will calculate tax in addition to the item prices you set, but will not include it in the order total display.

      Behavior

      When the new "Inclusive" tax type is selected, tax should be calculated as a part of set prices. For example, if an services costs $100 and there is a tax of 10% then the service line item would be $90.91 and the tax line item would be $9.09 so the overall total would come out to $100.

      • To calculate the service price, use the equation
        • $price = $package_price / (100 + $tax_percentage)
      • To calculate the tax amount use the equation
        • $tax_price = ( $package_price / ( 100 + $tax_percentage ) ) x $tax_percentage

      This should be handled by the pricing presenter.

      Display

      In various locations, we should still show the overall total. These locations include:

      • All pricing drop downs for packages or configurable options. For example:
        • The admin add service package pricing dropdown
        • The "Wizard List" order form package list
        • The client edit service configurable option change dropdown
      • Service widget prices. For example:
        • The Billing > Services widget
        • The client profile Services widget
      • Sales reports
      • Invoice line items
      • Order form summary box line items

      Locations in which we should display the tax subtracted total include:

      • Admin service summary boxes (add or edit)
      • Client service management summary boxes (addons, upgrades, config options)
      • Invoice totals
      • Order form summary box totals

        Issue Links

          Activity

          There are no comments yet on this issue.

            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:
                23/Sep/21

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 4 days, 25 minutes
                4d 25m

                  Agile