spree/spree — pull request #5162 by plongyear (2014-08-07 19:42:15+00:00)
Title: Create a default calculator to determine a return item's default refund ...

...amount.

Moved a lot of calculations from inventory_unit into a calculator. The calculator can be overwritten in the return item if different calculations are needed to determine a return item's pre-tax amount.