Browse Source

Update questions (#1724)

pull/1751/head
kosiakkatrina 1 year ago committed by GitHub
parent
commit
0a0f26ca2b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      app/services/bulk_upload/lettings/year2023/row_parser.rb
  2. 8
      app/services/bulk_upload/sales/year2022/row_parser.rb
  3. 8
      app/services/bulk_upload/sales/year2023/row_parser.rb

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

@ -857,7 +857,7 @@ private
errors.add(:field_17, error_message) # location
errors.add(:field_23, error_message) # postcode_full
errors.add(:field_24, error_message) # postcode_full
errors.add(:field_25, error_message) # postcode_full
errors.add(:field_25, error_message) # la
errors.add(:field_46, error_message) # age1
errors.add(:field_47, error_message) # sex1
errors.add(:field_50, error_message) # ecstat1

8
app/services/bulk_upload/sales/year2022/row_parser.rb

@ -64,10 +64,10 @@ class BulkUpload::Sales::Year2022::RowParser
field_58: "Is this a resale?",
field_59: "What is the day of the practical completion or handover date?",
field_60: "What is the month of the practical completion or handover date?",
field_61: "What is the day of the exchange of contracts date?",
field_62: "What is the day of the practical completion or handover date?",
field_63: "What is the month of the practical completion or handover date?",
field_64: "What is the year of the practical completion or handover date?",
field_61: "What is the year of the practical completion or handover date?",
field_62: "What is the day of the exchange of contracts date?",
field_63: "What is the month of the exchange of contracts date?",
field_64: "What is the year of the exchange of contracts date?",
field_65: "Was the household re-housed under a local authority nominations agreement?",
field_66: "How many bedrooms did the buyer's previous property have?",
field_67: "What was the type of the buyer's previous property?",

8
app/services/bulk_upload/sales/year2023/row_parser.rb

@ -104,12 +104,12 @@ class BulkUpload::Sales::Year2023::RowParser
field_90: "Was this transaction part of a back-to-back staircasing transaction to facilitate sale of the home on the open market?",
field_91: "Is this a resale?",
field_92: "What is the day of the practical completion or handover date?",
field_93: "What is the month of the practical completion or handover date?",
field_94: "What is the year of the practical completion or handover date?",
field_92: "What is the day of the exchange of contracts date?",
field_93: "What is the month of the exchange of contracts date?",
field_94: "What is the year of the exchange of contracts date?",
field_95: "What is the day of the practical completion or handover date?",
field_96: "What is the month of the practical completion or handover date?",
field_97: "What is the day of the exchange of contracts date?",
field_97: "What is the year of the practical completion or handover date?",
field_98: "Was the household re-housed under a local authority nominations agreement?",
field_99: "Was the buyer a private registered provider, housing association or local authority tenant immediately before this sale?",
field_100: "How many bedrooms did the buyer's previous property have?",

Loading…
Cancel
Save