From 9881bc7c0ddd4b012aabf3fe0db0049e8b77b926 Mon Sep 17 00:00:00 2001 From: natdeanlewissoftwire <94526761+natdeanlewissoftwire@users.noreply.github.com> Date: Fri, 22 Mar 2024 09:58:10 +0000 Subject: [PATCH] feat: add fields to xml for 24/25 on (#2329) --- .../exports/lettings_log_export_constants.rb | 12 ++++++++++++ spec/fixtures/exports/general_needs_log_24_25.xml | 6 ++++++ 2 files changed, 18 insertions(+) diff --git a/app/services/exports/lettings_log_export_constants.rb b/app/services/exports/lettings_log_export_constants.rb index 0e6edd139..3a04c7fab 100644 --- a/app/services/exports/lettings_log_export_constants.rb +++ b/app/services/exports/lettings_log_export_constants.rb @@ -148,6 +148,12 @@ module Exports::LettingsLogExportConstants "county_as_entered", "postcode_full_as_entered", "la_as_entered", + "net_income_value_check", + "rent_value_check", + "scharge_value_check", + "pscharge_value_check", + "supcharg_value_check", + "carehome_charges_value_check", ] (1..8).each do |index| @@ -175,6 +181,12 @@ module Exports::LettingsLogExportConstants "county_as_entered", "postcode_full_as_entered", "la_as_entered", + "net_income_value_check", + "rent_value_check", + "scharge_value_check", + "pscharge_value_check", + "supcharg_value_check", + "carehome_charges_value_check", ] PRE_2024_EXPORT_FIELDS = Set[ diff --git a/spec/fixtures/exports/general_needs_log_24_25.xml b/spec/fixtures/exports/general_needs_log_24_25.xml index 3b27d50af..bcdb8941c 100644 --- a/spec/fixtures/exports/general_needs_log_24_25.xml +++ b/spec/fixtures/exports/general_needs_log_24_25.xml @@ -78,6 +78,7 @@ 0 0 + 4 123 @@ -127,6 +128,7 @@ + 2 3 @@ -142,8 +144,12 @@ London + 2 + + + 2