diff --git a/config/forms/2022_2023.json b/config/forms/2022_2023.json index 77946b61c..66647170e 100644 --- a/config/forms/2022_2023.json +++ b/config/forms/2022_2023.json @@ -1,7 +1,7 @@ { "form_type": "lettings", "start_date": "2022-04-01T00:00:00.000+01:00", - "end_date": "2023-07-01T00:00:00.000+01:00", + "end_date": "2023-03-31T23:59:59.999+01:00", "sections": { "setup": { "label": "Before you start", @@ -1016,30 +1016,33 @@ "hint_text": "", "type": "radio", "answer_options": { - "0": { - "value": "Assured" - }, "1": { - "value": "Assured Shorthold" + "value": "Assured Shorthold Tenancy (AST) - fixed term" }, "2": { - "value": "Licence agreement (almshouses only)" + "value": "Assured - lifetime" }, - "3": { - "value": "Secure (including flexible)" + "6": { + "value": "Secure - fixed term" }, - "4": { + "7": { + "value": "Secure - lifetime" + }, + "5": { + "value": "Licence agreement" + }, + "3": { "value": "Other" } }, "conditional_for": { "tenancyother": [ - 4 + 3 ] } }, "tenancyother": { - "header": "Please state the tenancy type", + "header": "Tenancy type", "hint_text": "", "type": "text" } @@ -1060,25 +1063,28 @@ "hint_text": "This is also known as an ‘introductory period’.", "type": "radio", "answer_options": { - "0": { - "value": "Assured" - }, "1": { - "value": "Assured Shorthold" + "value": "Assured Shorthold Tenancy (AST) - fixed term" }, "2": { - "value": "Licence agreement (almshouses only)" + "value": "Assured - lifetime" }, - "3": { - "value": "Secure (including flexible)" + "6": { + "value": "Secure - fixed term" }, - "4": { + "7": { + "value": "Secure - lifetime" + }, + "5": { + "value": "Licence agreement" + }, + "3": { "value": "Other" } }, "conditional_for": { "tenancyother": [ - 4 + 3 ] } }, @@ -1128,19 +1134,19 @@ "hint_text": "", "type": "radio", "answer_options": { - "0": { - "value": "Yes – sheltered housing" - }, "1": { - "value": "Yes – extra care housing" + "value": "Yes - specialist retirement housing" }, "2": { + "value": "Yes – extra care housing" + }, + "3": { "value": "No" }, "divider": { "value": true }, - "3": { + "4": { "value": "Don’t know" } } diff --git a/db/migrate/20220324155558_add_joint_tenancy_field.rb b/db/migrate/20220324155558_add_joint_tenancy_field.rb new file mode 100644 index 000000000..322c0a1a0 --- /dev/null +++ b/db/migrate/20220324155558_add_joint_tenancy_field.rb @@ -0,0 +1,7 @@ +class AddJointTenancyField < ActiveRecord::Migration[7.0] + def change + change_table :case_logs, bulk: true do |t| + t.column :jointtenancy, :integer + end + end +end diff --git a/db/schema.rb b/db/schema.rb index e6782acfb..59ecd3512 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -229,6 +229,7 @@ ActiveRecord::Schema[7.0].define(version: 202202071123100) do t.integer "vmonth" t.integer "vyear" t.decimal "wchchrg", precision: 10, scale: 2 + t.integer "jointtenancy" t.index ["managing_organisation_id"], name: "index_case_logs_on_managing_organisation_id" t.index ["owning_organisation_id"], name: "index_case_logs_on_owning_organisation_id" end