Skip to content

Commit

Permalink
Use tax category in label description.
Browse files Browse the repository at this point in the history
  • Loading branch information
schof committed Dec 22, 2011
1 parent 39dc3c3 commit f722f6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/app/models/spree/tax_rate.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def self.default

# Creates necessary tax adjustments for the order.
def adjust(order)
label = "#{calculator.description} #{amount * 100}%"
label = "#{tax_category.name} #{amount * 100}%"
if self.inc_tax
if Zone.default_tax.contains? order.tax_zone
order.line_items.each { |line_item| create_adjustment(label, line_item, line_item) }
Expand Down

0 comments on commit f722f6c

Please sign in to comment.