diff --git a/lib/reporting/reports/sales_tax/tax_rates.rb b/lib/reporting/reports/sales_tax/tax_rates.rb index afc62ac3c8..83bd3f2eb0 100644 --- a/lib/reporting/reports/sales_tax/tax_rates.rb +++ b/lib/reporting/reports/sales_tax/tax_rates.rb @@ -11,7 +11,7 @@ module Reporting total_excl_vat: proc { |order| order.total - order.total_tax } } add_key_for_each_rate(result, proc { |rate| - OrderTaxAdjustmentsFetcher.new(order).totals.fetch(rate, 0) + proc { |order| OrderTaxAdjustmentsFetcher.new(order).totals.fetch(rate, 0) } }) other = { total_tax: proc { |order| order.total_tax },