Skip to content
This repository
  • 64 commits
  • 54 files changed
  • 0 comments
  • 3 contributors
Dec 21, 2011
Sean Schofield Zone#match now returns only best possible match 7884004
Sean Schofield Order#tax_zone which can return a default tax zone
when there is no matching zone
9c210ce
Sean Schofield Allow mass assignment of bill_address
(not just its attributes)
af8f5dc
Sean Schofield Order#tax_zone now respects the new
:tax_using_ship_address preference
d3ee561
Sean Schofield TaxRate.match now works with Order#tax_zone 14fcab0
Sean Schofield Tax adjustments are created properly and removed
VAT cruft
a855572
Sean Schofield Make adjustments polymorphic b556909
Sean Schofield LineItem now has adjustments (price adjustments) 6258179
Sean Schofield New Order#price_adjustments method 9a2d1ec
Sean Schofield New Order#price_adjustment_totals method e0f05dc
Sean Schofield Fixed adjustment scope 8c75dd6
Sean Schofield Remove default calculator for calculated_adjustments 3ada8b4
Sean Schofield Remove deprecated register method 5617000
Sean Schofield New :pric_inc_tax preference which creates price
adjustments instead of tax adjustments
1f0ee5b
Sean Schofield Simplified variant_price_diff (removed VAT stuff) 4e1b460
Sean Schofield Deprecated product_price helper 621b8b1
Sean Schofield Removed :show_price_inc_vat preference 71f0472
Sean Schofield Removed JS hack for VAT pricing 260ec8f
Sean Schofield New Zone#default_tax method d45d266
Sean Schofield New Order#exclude_tax? method 8ce4fe5
Sean Schofield Zone can no longer have zone_members of type Zone
(Replaced by new and improved Zone#match)
2458cc9
Sean Schofield New Zone#contains? method for checking if a target
zone is completely contained within another zone
67f95dd
Sean Schofield Only create price adjustments when the tax_zone is
contained within the default tax zone.
1c9e02a
Sean Schofield Added new reverse_adjustment method 5ccee9f
Sean Schofield New DefaultTaxCalculator (WIP) bd18c0b
Sean Schofield Removed default tax category nonsense 6e507fe
Sean Schofield Removed SalesTax and Vat calculators which are
now replaced by DefaultTax
e0d539e
Sean Schofield Remove very short-lived reverse_adjustments method c098562
Sean Schofield Mark two order specs and pending b93a144
Ryan Bigg Adjustment now considers orders 'adjustables' e840a16
Ryan Bigg Spree::User table name is only referenced once here
So no need to use local variable for it
7f57a35
Sean Schofield Fix several issues with tax rate specs" 080e66f
Sean Schofield Ensure all zones destroyed before testing 5317724
Ryan Bigg Remove test for is_default, as the method is no longer there b7fa186
Ryan Bigg Implement DefaultTax calculator compute method 31307db
Ryan Bigg No more effective_amount method, remove tests for it from tax_categor…
…y_spec
77be1d3
Ryan Bigg make number_to_currency in line_item partial take a number, rather th…
…an a Variant
9be6cb0
Ryan Bigg Must create a state for a country in zone spec cea3533
Sean Schofield TaxRate can now be designated as included in price 0ff8de6
Sean Schofield New credit scope for Adjustment 097a135
Sean Schofield Removed obsolete specs fd02010
Sean Schofield Only create adjustments with 0 amount if mandatory ae1ef56
Sean Schofield New TaxRate#adjust method 2ec9741
Sean Schofield Restore default tax category - turns out it
was somewhat useful.
bf01287
Sean Schofield Fixed issues with default_tax_calculator which
should only return the amount of tax.
948ce08
Sean Schofield Use the new TaxRate#adjust method to calculate tax 7bf5d03
Ryan Bigg Round to two decimal places in default_tax calculator 0ba527d
Sean Schofield Fixed issue with sample data 39dc3c3
Sean Schofield Use tax category in label description. f722f6c
Sean Schofield Some promotion spec fixes bb8c4c6
Sean Schofield Checkbox for tax rate included in price 0cb7ea8
Sean Schofield Renamed inc_tax to included_in_price and provided
custom validator to check for default tax zone.
9e1222d
Sean Schofield More improvements to the default tax zone concept c41e526
Sean Schofield Fix some failing specs due to new method name d265ac3
Sean Schofield Remove :default_tax_zone preference (use
 Zone#default_tax instead)
d2b42db
Sean Schofield Fixed problem with Calculator::DefaultTax which
was not taking into account quantity > 1 for a
line item.
70903f4
Sean Schofield Use the calculator to determine the refund instead
of relying on hard-coded rules.
f1d9c0c
Sean Schofield Introduce concept of tax charge vs. credit and
make sure both are deleted when updating the
tax calculations.
d16132f
John Dyer Fixes failing promotion model specs 5fd89c9
Sean Schofield Show price adjustments c828ee0
Sean Schofield Ensure Zone#contains? is true when checking itself 2751a5a
Sean Schofield TaxRate#match should also consider where a zone is
contained within a zone (as opposed looking only
for exact matches.)
87ae325
Sean Schofield Fix calculator association with promotion action 0c417e7
Sean Schofield Mark troublesome request specs as pending. Will
fix before 1.0 final release.
621ecdb