mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Temporarily 'hide' report
The reports framework doesn't currently support hidden reports, but we can mark it with a strike-through at least.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
module Reporting
|
||||
module Reports
|
||||
class List
|
||||
class List # rubocop:disable Metrics/ClassLength # Because it's a simple class
|
||||
def self.all
|
||||
new.all
|
||||
end
|
||||
@@ -67,11 +67,11 @@ module Reporting
|
||||
i18n_translate('enterprise_fees_with_tax_report_by_order'),
|
||||
:enterprise_fees_with_tax_report_by_order
|
||||
],
|
||||
# Hidden from view until report specifics are finalised.
|
||||
# [
|
||||
# i18n_translate('enterprise_fees_with_tax_report_by_producer'),
|
||||
# :enterprise_fees_with_tax_report_by_producer
|
||||
# ],
|
||||
[
|
||||
i18n_translate('enterprise_fees_with_tax_report_by_producer'),
|
||||
:enterprise_fees_with_tax_report_by_producer,
|
||||
{ deprecated: true }, # Not supported until specific details are finalised.
|
||||
],
|
||||
]
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user