From deb31279f9aa3f69f80e6777811a2cb4ae162c72 Mon Sep 17 00:00:00 2001 From: Nat Dean-Lewis Date: Fri, 6 Feb 2026 16:59:30 +0000 Subject: [PATCH] CLDC-4177: update sales log export constants --- app/services/exports/sales_log_export_constants.rb | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/app/services/exports/sales_log_export_constants.rb b/app/services/exports/sales_log_export_constants.rb index 442fe8695..d0dcc20d8 100644 --- a/app/services/exports/sales_log_export_constants.rb +++ b/app/services/exports/sales_log_export_constants.rb @@ -7,7 +7,7 @@ module Exports::SalesLogExportConstants csv: 2, }.freeze - EXPORT_FIELDS = Set[ + ALL_YEAR_EXPORT_FIELDS = Set[ "ID", "STATUS", "DAY", @@ -136,18 +136,18 @@ module Exports::SalesLogExportConstants "SERVICECHARGES",] (1..6).each do |index| - EXPORT_FIELDS << "AGE#{index}" - EXPORT_FIELDS << "ECSTAT#{index}" - EXPORT_FIELDS << "SEX#{index}" + ALL_YEAR_EXPORT_FIELDS << "AGE#{index}" + ALL_YEAR_EXPORT_FIELDS << "ECSTAT#{index}" + ALL_YEAR_EXPORT_FIELDS << "SEX#{index}" end (2..6).each do |index| - EXPORT_FIELDS << "RELAT#{index}" + ALL_YEAR_EXPORT_FIELDS << "RELAT#{index}" end - POST_2026_EXPORT_FIELDS = Set[] + YEAR_2026_EXPORT_FIELDS = Set[] (1..6).each do |index| - POST_2026_EXPORT_FIELDS << "SEXRAB#{index}" + YEAR_2026_EXPORT_FIELDS << "SEXRAB#{index}" end end