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:
David Cook
2023-09-12 16:10:08 +10:00
committed by Konrad
parent db8392ce81
commit ef1ccca4fa

View File

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