Details
-
Type: Sub-task
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 5.2.0-b1
-
Component/s: None
-
Labels:None
Description
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.