Browse Source

add wchair to bulk upload

pull/1148/head
Kat 3 years ago committed by Phil Lee
parent
commit
d8bedc3942
  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

@ -224,6 +224,7 @@ private
startdate: %i[field_98 field_97 field_96],
unittype_gn: %i[field_102],
builtype: %i[field_103],
wchair: %i[field_104],
}
end
@ -289,6 +290,7 @@ private
attributes["startdate"] = startdate
attributes["unittype_gn"] = field_102
attributes["builtype"] = field_103
attributes["wchair"] = field_104
attributes
end

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

@ -63,6 +63,7 @@ RSpec.describe BulkUpload::Lettings::RowParser do
field_134: "0",
field_102: "2",
field_103: "1",
field_104: "1",
}
end

Loading…
Cancel
Save