Closed el-seirh closed 6 years ago
That's still broken. Your local master is not up to date (git checkout master && git pull origin master) Once you update master you can switch back to your PR branch and do a "git rebase master" to rewind.
I'm gonna close this one again since I have been able to correctly sync my forks master but failed to correctly rewind my PR branch.
@bojanz I created a new PR https://github.com/commerceguys/tax/pull/58. Sorry for the inconvenience. II hope the latest PR is ok.
There was an issue in the TaxRate models getAmount-function. When matching the date against the end dates the > operator was used instead of >=. This led to a behaviour where any date that exactly matched any periods end date would not return a tax rate.