12776: add new report option

This commit is contained in:
Ahmed Ejaz
2024-09-22 17:14:55 +05:00
committed by Rachel Arnould
parent 8c6c1e28ff
commit 122a64e488
2 changed files with 10 additions and 0 deletions

View File

@@ -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:

View File

@@ -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