Details
-
Type: Improvement
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 3.4.3
-
Fix Version/s: 3.5.0-b3
-
Component/s: None
-
Labels:None
Description
Currently, only a single coupon line item is created when a coupon is applied to items on an invoice.
Instead, the coupon should be a new line item under each other line item it applies to. The coupon line item amount would be the total discounted amount from that line item.
Coupon ABC = 10%
e.g.
Line item 1 $10.00
Coupon ABC @ 10% -$1.00
Line item 2 $5
Coupon ABC @ 10% -$0.50
Subtotal: $13.50
If a line item is taxable (i.e. the Tax checkbox is checked for the line item), then the coupon line item should be marked taxable as well. This would allow, for example, a refund to be made for a line item while also refunding the amount taxed for that item after the coupon was applied to it.
It should be noted that coupon line items are only added for invoices created from the new Item Pricing, which at the time of this task's completion is only related to invoices created for service queuing.