diff --git a/lib/open_food_network/sales_tax_report.rb b/lib/open_food_network/sales_tax_report.rb index 86a46187be..2579f91e59 100644 --- a/lib/open_food_network/sales_tax_report.rb +++ b/lib/open_food_network/sales_tax_report.rb @@ -1,13 +1,12 @@ - module OpenFoodNetwork class SalesTaxReport + include Spree::ReportsHelper def initialize orders @orders = orders end def header - currency_symbol = Spree::Money.currency_symbol ["Order number", "Date", "Items", "Items total (#{currency_symbol})", "Taxable Items Total (#{currency_symbol})", "Sales Tax (#{currency_symbol})", "Delivery Charge (#{currency_symbol})", "Tax on Delivery (#{currency_symbol})", "Total Tax (#{currency_symbol})", "Customer", "Distributor"]