Details
-
Type: Sub-task
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 4.0.0-b5
-
Component/s: None
-
Labels:None
Description
Create Blesta\Core\Pricing\Presenter.
The pricing presenter should perform all of the necessary actions that the PricingPresenter component does, but should use MetaItemPrice from CORE-2207.
The presenter should also support functionality currently implemented in Invoices::getItemTotals, i.e. methods should exist that allow the items in the ItemPriceCollection, a set of totals (i.e. subtotal, total, total_after_tax, total_after_discount, tax_amount, discount_amount), a set of discounts, and a set of taxes to be fetched.