mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-01 02:03:22 +00:00
Report TaxRate fix
This commit is contained in:
committed by
Jean-Baptiste Bellet
parent
767afe1fba
commit
b54ec4354a
@@ -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 },
|
||||
|
||||
Reference in New Issue
Block a user