Change the Shop::Tax system to be hierarchial.

Update all sample tax tables and tests.
This commit is contained in:
Colin Kuskie 2008-03-06 22:34:21 +00:00
parent cbe9cc29df
commit d956e58bd7
11 changed files with 190 additions and 131 deletions

View file

@ -1,3 +1,4 @@
taxRate,value,field
5.0,Wisconsin,state
0.5,53701,code
taxRate,country,state,city,code
0.0,USA,,,
5.0,USA,Wisconsin,,
0.5,USA,Wisconsin,Madison,53701

1 taxRate value country field state city code
2 5.0 0.0 Wisconsin USA state
3 0.5 5.0 53701 USA code Wisconsin
4 0.5 USA Wisconsin Madison 53701