From f9f2d3bfa69644f7cce882943af559268fd56253 Mon Sep 17 00:00:00 2001 From: Manny Dinssa <44172848+Dinssa@users.noreply.github.com> Date: Wed, 26 Mar 2025 16:27:40 +0000 Subject: [PATCH] Remove comments --- app/services/csv/sales_log_csv_service.rb | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/app/services/csv/sales_log_csv_service.rb b/app/services/csv/sales_log_csv_service.rb index e99709d7f..b1345b669 100644 --- a/app/services/csv/sales_log_csv_service.rb +++ b/app/services/csv/sales_log_csv_service.rb @@ -277,29 +277,6 @@ module Csv end end - # def insert_derived_and_related_attributes(ordered_questions) - # ordered_questions.flat_map do |question| - # if question.type == "checkbox" - # question.answer_options.keys - # elsif attribute_mappings.key? question.id - # attribute_mappings[question.id] - # else - # question.id - # end - # end - # end - - # def attribute_mappings - # mappings = ATTRIBUTE_MAPPINGS - # unless @user.support? && @year >= 2024 - # mappings = mappings.merge({"postcode_full" => %w[pcode1 pcode2]}) - # end - # if @year >= 2024 - # mappings = mappings.merge(ATTRIBUTE_MAPPINGS_2024) - # end - # mappings - # end - def attribute_mappings mappings = case @year when 2024