From 311bbd2aa2835aface375b9b706c13d98ad07539 Mon Sep 17 00:00:00 2001 From: Robin Klaus Date: Mon, 18 May 2020 18:41:04 +1000 Subject: [PATCH] Changed report_header fields for amount and quantity to reflect correct translation to French --- .../orders_and_fulfillments_report/customer_totals_report.rb | 2 +- .../orders_and_fulfillments_report/default_report.rb | 2 +- .../distributor_totals_by_supplier_report.rb | 2 +- .../supplier_totals_by_distributor_report.rb | 2 +- .../orders_and_fulfillments_report/supplier_totals_report.rb | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/open_food_network/orders_and_fulfillments_report/customer_totals_report.rb b/lib/open_food_network/orders_and_fulfillments_report/customer_totals_report.rb index 16d1a4e163..3edbd71cf7 100644 --- a/lib/open_food_network/orders_and_fulfillments_report/customer_totals_report.rb +++ b/lib/open_food_network/orders_and_fulfillments_report/customer_totals_report.rb @@ -20,7 +20,7 @@ module OpenFoodNetwork [I18n.t(:report_header_hub), I18n.t(:report_header_customer), I18n.t(:report_header_email), I18n.t(:report_header_phone), I18n.t(:report_header_producer), I18n.t(:report_header_product), I18n.t(:report_header_variant), - I18n.t(:report_header_amount), + I18n.t(:report_header_quantity), I18n.t(:report_header_item_price, currency: currency_symbol), I18n.t(:report_header_item_fees_price, currency: currency_symbol), I18n.t(:report_header_admin_handling_fees, currency: currency_symbol), diff --git a/lib/open_food_network/orders_and_fulfillments_report/default_report.rb b/lib/open_food_network/orders_and_fulfillments_report/default_report.rb index cdeca0e5be..4f59edd4bf 100644 --- a/lib/open_food_network/orders_and_fulfillments_report/default_report.rb +++ b/lib/open_food_network/orders_and_fulfillments_report/default_report.rb @@ -12,7 +12,7 @@ module OpenFoodNetwork I18n.t(:report_header_producer), I18n.t(:report_header_product), I18n.t(:report_header_variant), - I18n.t(:report_header_amount), + I18n.t(:report_header_quantity), I18n.t(:report_header_curr_cost_per_unit), I18n.t(:report_header_total_cost), I18n.t(:report_header_status), diff --git a/lib/open_food_network/orders_and_fulfillments_report/distributor_totals_by_supplier_report.rb b/lib/open_food_network/orders_and_fulfillments_report/distributor_totals_by_supplier_report.rb index 71fbf7b0f7..8e3c810045 100644 --- a/lib/open_food_network/orders_and_fulfillments_report/distributor_totals_by_supplier_report.rb +++ b/lib/open_food_network/orders_and_fulfillments_report/distributor_totals_by_supplier_report.rb @@ -12,7 +12,7 @@ module OpenFoodNetwork def header [I18n.t(:report_header_hub), I18n.t(:report_header_producer), I18n.t(:report_header_product), I18n.t(:report_header_variant), - I18n.t(:report_header_amount), I18n.t(:report_header_curr_cost_per_unit), + I18n.t(:report_header_quantity), I18n.t(:report_header_curr_cost_per_unit), I18n.t(:report_header_total_cost), I18n.t(:report_header_total_shipping_cost), I18n.t(:report_header_shipping_method)] end diff --git a/lib/open_food_network/orders_and_fulfillments_report/supplier_totals_by_distributor_report.rb b/lib/open_food_network/orders_and_fulfillments_report/supplier_totals_by_distributor_report.rb index 63bcf0e121..42c3523e00 100644 --- a/lib/open_food_network/orders_and_fulfillments_report/supplier_totals_by_distributor_report.rb +++ b/lib/open_food_network/orders_and_fulfillments_report/supplier_totals_by_distributor_report.rb @@ -14,7 +14,7 @@ module OpenFoodNetwork def header [I18n.t(:report_header_producer), I18n.t(:report_header_product), I18n.t(:report_header_variant), I18n.t(:report_header_to_hub), - I18n.t(:report_header_amount), I18n.t(:report_header_curr_cost_per_unit), + I18n.t(:report_header_quantity), I18n.t(:report_header_curr_cost_per_unit), I18n.t(:report_header_total_cost), I18n.t(:report_header_shipping_method)] end diff --git a/lib/open_food_network/orders_and_fulfillments_report/supplier_totals_report.rb b/lib/open_food_network/orders_and_fulfillments_report/supplier_totals_report.rb index 905a06af42..09755adb1b 100644 --- a/lib/open_food_network/orders_and_fulfillments_report/supplier_totals_report.rb +++ b/lib/open_food_network/orders_and_fulfillments_report/supplier_totals_report.rb @@ -13,7 +13,7 @@ module OpenFoodNetwork def header [I18n.t(:report_header_producer), I18n.t(:report_header_product), - I18n.t(:report_header_variant), I18n.t(:report_header_amount), + I18n.t(:report_header_variant), I18n.t(:report_header_quantity), I18n.t(:report_header_total_units), I18n.t(:report_header_curr_cost_per_unit), I18n.t(:report_header_total_cost), I18n.t(:report_header_status), I18n.t(:report_header_incoming_transport)]