diff --git a/config/locales/en.yml b/config/locales/en.yml index 80b5a5e90b..7f03a407a0 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -1768,6 +1768,7 @@ en: pack_by_customer: Pack By Customer pack_by_supplier: Pack By Supplier pack_by_product: Pack By Product + pay_your_suppliers: Pay your suppliers display: report_is_big: "This report is big and may slow down your device." display_anyway: "Display anyway" @@ -1814,6 +1815,8 @@ en: enterprise_fee_summary: name: "Enterprise Fee Summary" description: "Summary of Enterprise Fees collected" + suppliers: + name: Suppliers enterprise_fees_with_tax_report_by_order: "Enterprise Fees With Tax Report By Order" enterprise_fees_with_tax_report_by_producer: "Enterprise Fees With Tax Report By Producer" errors: diff --git a/lib/reporting/reports/list.rb b/lib/reporting/reports/list.rb index a2dd38efc3..9b8c191d02 100644 --- a/lib/reporting/reports/list.rb +++ b/lib/reporting/reports/list.rb @@ -22,6 +22,7 @@ module Reporting xero_invoices: xero_report_types, packing: packing_report_types, revenues_by_hub: [], + suppliers: suppliers_report_types, } end @@ -107,6 +108,12 @@ module Reporting ] end + def suppliers_report_types + [ + [i18n_translate(:pay_your_suppliers), :pay_your_suppliers] + ] + end + def bulk_coop_item(key) [I18n.t("order_management.reports.bulk_coop.filters.bulk_coop_#{key}"), key] end