Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Tax extension point and merge tax updating code #1479

Merged
merged 5 commits into from
Oct 31, 2016

Commits on Oct 12, 2016

  1. Merge tax updating code and deprecate Order#create_tax_charge!

    Previously we had two different sets of tax updating code.  One was
    Order#create_tax_charge! and the other was the code in OrderUpdater.
    The effect of the former encompasses the effect of the latter, so
    functionally we can merge these.
    
    This may result in increased load since we're now using the more
    encompassing method which was more heavyweight.
    jordan-brough committed Oct 12, 2016
    Configuration menu
    Copy the full SHA
    7e0ba42 View commit details
    Browse the repository at this point in the history
  2. Fix non-realistic specs for updated tax code

    We had several specs that manually created tax adjustments rather than
    setting up a real tax rate to be applied to the order.  This fixes
    that.
    jordan-brough committed Oct 12, 2016
    Configuration menu
    Copy the full SHA
    86e7435 View commit details
    Browse the repository at this point in the history
  3. Add Spree::Config.tax_adjuster extension point

    To allow easier customization of tax calculation in extensions or
    applications.
    jordan-brough committed Oct 12, 2016
    Configuration menu
    Copy the full SHA
    edd95af View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4dbf194 View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2016

  1. Configuration menu
    Copy the full SHA
    b3c81cc View commit details
    Browse the repository at this point in the history