From ef1ccca4fa72b607273f4926f8c51e194847d0e9 Mon Sep 17 00:00:00 2001 From: David Cook Date: Tue, 12 Sep 2023 16:10:08 +1000 Subject: [PATCH] Temporarily 'hide' report The reports framework doesn't currently support hidden reports, but we can mark it with a strike-through at least. --- lib/reporting/reports/list.rb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/reporting/reports/list.rb b/lib/reporting/reports/list.rb index ebb0a86fe1..5874b70c70 100644 --- a/lib/reporting/reports/list.rb +++ b/lib/reporting/reports/list.rb @@ -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