spree/spree — pull request #4807 by athal7 (2014-06-09 22:17:58+00:00)
Title: WIP store the amount of order and shipment level discounts that are allo...

...cated to a line item

If we know at order time how much of the non-line-item discounts are
applicable to a line item, when a refund of a single line item for
an order is made, then we can accurately calculate the amount due to the
customer.