mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-26 01:33:22 +00:00
12776: add new report option
This commit is contained in:
committed by
Rachel Arnould
parent
8c6c1e28ff
commit
122a64e488
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user