Browse Source

add national to bulk upload

pull/1148/head
Phil Lee 3 years ago
parent
commit
7d0f2422f4
  1. 2
      app/services/bulk_upload/lettings/row_parser.rb
  2. 1
      spec/services/bulk_upload/lettings/row_parser_spec.rb

2
app/services/bulk_upload/lettings/row_parser.rb

@ -252,6 +252,7 @@ private
ethnic_group: %i[field_43],
ethnic: %i[field_43],
national: %i[field_44],
}
end
@ -345,6 +346,7 @@ private
attributes["ethnic_group"] = ethnic_group_from_ethnic
attributes["ethnic"] = field_43
attributes["national"] = field_44
attributes
end

1
spec/services/bulk_upload/lettings/row_parser_spec.rb

@ -82,6 +82,7 @@ RSpec.describe BulkUpload::Lettings::RowParser do
field_20: "F",
field_43: "17",
field_44: "18",
}
end

Loading…
Cancel
Save