Browse Source

Update working situation copy unable to work

pull/3040/head
Manny Dinssa 1 month ago
parent
commit
62f4eab309
  1. 2
      app/models/form/lettings/questions/person_working_situation.rb
  2. 2
      app/models/form/lettings/questions/working_situation1.rb
  3. 4
      app/models/form/sales/questions/buyer1_working_situation.rb
  4. 4
      app/models/form/sales/questions/buyer2_working_situation.rb
  5. 4
      app/models/form/sales/questions/person_working_situation.rb
  6. 2
      spec/models/form/lettings/questions/person_working_situation_spec.rb
  7. 2
      spec/models/form/sales/questions/buyer1_working_situation_spec.rb
  8. 4
      spec/models/form/sales/questions/buyer2_working_situation_spec.rb
  9. 2
      spec/models/form/sales/questions/person_working_situation_spec.rb

2
app/models/form/lettings/questions/person_working_situation.rb

@ -16,7 +16,7 @@ class Form::Lettings::Questions::PersonWorkingSituation < ::Form::Question
"3" => { "value" => "In government training into work" }, "3" => { "value" => "In government training into work" },
"4" => { "value" => "Jobseeker" }, "4" => { "value" => "Jobseeker" },
"6" => { "value" => "Not seeking work" }, "6" => { "value" => "Not seeking work" },
"8" => { "value" => "Unable to work because of long term sick or disability" }, "8" => { "value" => "Unable to work because of long-term sickness or disability" },
"5" => { "value" => "Retired" }, "5" => { "value" => "Retired" },
"9" => { "9" => {
"value" => "Child under 16", "value" => "Child under 16",

2
app/models/form/lettings/questions/working_situation1.rb

@ -15,7 +15,7 @@ class Form::Lettings::Questions::WorkingSituation1 < ::Form::Question
"3" => { "value" => "In government training into work" }, "3" => { "value" => "In government training into work" },
"4" => { "value" => "Jobseeker" }, "4" => { "value" => "Jobseeker" },
"6" => { "value" => "Not seeking work" }, "6" => { "value" => "Not seeking work" },
"8" => { "value" => "Unable to work because of long term sick or disability" }, "8" => { "value" => "Unable to work because of long-term sickness or disability" },
"5" => { "value" => "Retired" }, "5" => { "value" => "Retired" },
"0" => { "value" => "Other" }, "0" => { "value" => "Other" },
"divider" => { "value" => true }, "divider" => { "value" => true },

4
app/models/form/sales/questions/buyer1_working_situation.rb

@ -24,7 +24,7 @@ class Form::Sales::Questions::Buyer1WorkingSituation < ::Form::Question
"5" => { "value" => "Retired" }, "5" => { "value" => "Retired" },
"6" => { "value" => "Not seeking work" }, "6" => { "value" => "Not seeking work" },
"7" => { "value" => "Full-time student" }, "7" => { "value" => "Full-time student" },
"8" => { "value" => "Unable to work due to long term sick or disability" }, "8" => { "value" => "Unable to work because of long-term sickness or disability" },
"0" => { "value" => "Other" }, "0" => { "value" => "Other" },
"10" => { "value" => "Buyer prefers not to say" }, "10" => { "value" => "Buyer prefers not to say" },
}.freeze }.freeze
@ -35,7 +35,7 @@ class Form::Sales::Questions::Buyer1WorkingSituation < ::Form::Question
"3" => { "value" => "In government training into work" }, "3" => { "value" => "In government training into work" },
"4" => { "value" => "Jobseeker" }, "4" => { "value" => "Jobseeker" },
"6" => { "value" => "Not seeking work" }, "6" => { "value" => "Not seeking work" },
"8" => { "value" => "Unable to work due to long term sick or disability" }, "8" => { "value" => "Unable to work because of long-term sickness or disability" },
"5" => { "value" => "Retired" }, "5" => { "value" => "Retired" },
"0" => { "value" => "Other" }, "0" => { "value" => "Other" },
"10" => { "value" => "Buyer prefers not to say" }, "10" => { "value" => "Buyer prefers not to say" },

4
app/models/form/sales/questions/buyer2_working_situation.rb

@ -29,7 +29,7 @@ class Form::Sales::Questions::Buyer2WorkingSituation < ::Form::Question
"5" => { "value" => "Retired" }, "5" => { "value" => "Retired" },
"6" => { "value" => "Not seeking work" }, "6" => { "value" => "Not seeking work" },
"7" => { "value" => "Full-time student" }, "7" => { "value" => "Full-time student" },
"8" => { "value" => "Unable to work due to long term sick or disability" }, "8" => { "value" => "Unable to work because of long-term sickness or disability" },
"9" => { "value" => "Child under 16" }, "9" => { "value" => "Child under 16" },
"0" => { "value" => "Other" }, "0" => { "value" => "Other" },
"10" => { "value" => "Buyer prefers not to say" }, "10" => { "value" => "Buyer prefers not to say" },
@ -41,7 +41,7 @@ class Form::Sales::Questions::Buyer2WorkingSituation < ::Form::Question
"3" => { "value" => "In government training into work" }, "3" => { "value" => "In government training into work" },
"4" => { "value" => "Jobseeker" }, "4" => { "value" => "Jobseeker" },
"6" => { "value" => "Not seeking work" }, "6" => { "value" => "Not seeking work" },
"8" => { "value" => "Unable to work due to long term sick or disability" }, "8" => { "value" => "Unable to work because of long-term sickness or disability" },
"5" => { "value" => "Retired" }, "5" => { "value" => "Retired" },
"0" => { "value" => "Other" }, "0" => { "value" => "Other" },
"10" => { "value" => "Buyer prefers not to say" }, "10" => { "value" => "Buyer prefers not to say" },

4
app/models/form/sales/questions/person_working_situation.rb

@ -25,7 +25,7 @@ class Form::Sales::Questions::PersonWorkingSituation < ::Form::Question
"5" => { "value" => "Retired" }, "5" => { "value" => "Retired" },
"6" => { "value" => "Not seeking work" }, "6" => { "value" => "Not seeking work" },
"7" => { "value" => "Full-time student" }, "7" => { "value" => "Full-time student" },
"8" => { "value" => "Unable to work due to long term sick or disability" }, "8" => { "value" => "Unable to work because of long-term sickness or disability" },
"9" => { "9" => {
"value" => "Child under 16", "value" => "Child under 16",
"depends_on" => [ "depends_on" => [
@ -45,7 +45,7 @@ class Form::Sales::Questions::PersonWorkingSituation < ::Form::Question
"3" => { "value" => "In government training into work" }, "3" => { "value" => "In government training into work" },
"4" => { "value" => "Jobseeker" }, "4" => { "value" => "Jobseeker" },
"6" => { "value" => "Not seeking work" }, "6" => { "value" => "Not seeking work" },
"8" => { "value" => "Unable to work due to long term sick or disability" }, "8" => { "value" => "Unable to work because of long-term sickness or disability" },
"5" => { "value" => "Retired" }, "5" => { "value" => "Retired" },
"0" => { "value" => "Other" }, "0" => { "value" => "Other" },
"10" => { "value" => "Person prefers not to say" }, "10" => { "value" => "Person prefers not to say" },

2
spec/models/form/lettings/questions/person_working_situation_spec.rb

@ -29,7 +29,7 @@ RSpec.describe Form::Lettings::Questions::PersonWorkingSituation, type: :model d
"5" => { "value" => "Retired" }, "5" => { "value" => "Retired" },
"6" => { "value" => "Not seeking work" }, "6" => { "value" => "Not seeking work" },
"7" => { "value" => "Full-time student" }, "7" => { "value" => "Full-time student" },
"8" => { "value" => "Unable to work because of long term sick or disability" }, "8" => { "value" => "Unable to work because of long-term sickness or disability" },
"9" => { "9" => {
"depends_on" => [ "depends_on" => [
{ "age2_known" => 1 }, { "age2_known" => 1 },

2
spec/models/form/sales/questions/buyer1_working_situation_spec.rb

@ -31,7 +31,7 @@ RSpec.describe Form::Sales::Questions::Buyer1WorkingSituation, type: :model do
"3" => { "value" => "In government training into work" }, "3" => { "value" => "In government training into work" },
"4" => { "value" => "Jobseeker" }, "4" => { "value" => "Jobseeker" },
"6" => { "value" => "Not seeking work" }, "6" => { "value" => "Not seeking work" },
"8" => { "value" => "Unable to work due to long term sick or disability" }, "8" => { "value" => "Unable to work because of long-term sickness or disability" },
"5" => { "value" => "Retired" }, "5" => { "value" => "Retired" },
"0" => { "value" => "Other" }, "0" => { "value" => "Other" },
"10" => { "value" => "Buyer prefers not to say" }, "10" => { "value" => "Buyer prefers not to say" },

4
spec/models/form/sales/questions/buyer2_working_situation_spec.rb

@ -31,7 +31,7 @@ RSpec.describe Form::Sales::Questions::Buyer2WorkingSituation, type: :model do
"3" => { "value" => "In government training into work" }, "3" => { "value" => "In government training into work" },
"4" => { "value" => "Jobseeker" }, "4" => { "value" => "Jobseeker" },
"6" => { "value" => "Not seeking work" }, "6" => { "value" => "Not seeking work" },
"8" => { "value" => "Unable to work due to long term sick or disability" }, "8" => { "value" => "Unable to work because of long-term sickness or disability" },
"5" => { "value" => "Retired" }, "5" => { "value" => "Retired" },
"0" => { "value" => "Other" }, "0" => { "value" => "Other" },
"10" => { "value" => "Buyer prefers not to say" }, "10" => { "value" => "Buyer prefers not to say" },
@ -47,7 +47,7 @@ RSpec.describe Form::Sales::Questions::Buyer2WorkingSituation, type: :model do
"3" => { "value" => "In government training into work" }, "3" => { "value" => "In government training into work" },
"4" => { "value" => "Jobseeker" }, "4" => { "value" => "Jobseeker" },
"6" => { "value" => "Not seeking work" }, "6" => { "value" => "Not seeking work" },
"8" => { "value" => "Unable to work due to long term sick or disability" }, "8" => { "value" => "Unable to work because of long-term sickness or disability" },
"5" => { "value" => "Retired" }, "5" => { "value" => "Retired" },
"0" => { "value" => "Other" }, "0" => { "value" => "Other" },
"10" => { "value" => "Buyer prefers not to say" }, "10" => { "value" => "Buyer prefers not to say" },

2
spec/models/form/sales/questions/person_working_situation_spec.rb

@ -28,7 +28,7 @@ RSpec.describe Form::Sales::Questions::PersonWorkingSituation, type: :model do
"3" => { "value" => "In government training into work" }, "3" => { "value" => "In government training into work" },
"4" => { "value" => "Jobseeker" }, "4" => { "value" => "Jobseeker" },
"6" => { "value" => "Not seeking work" }, "6" => { "value" => "Not seeking work" },
"8" => { "value" => "Unable to work due to long term sick or disability" }, "8" => { "value" => "Unable to work because of long-term sickness or disability" },
"5" => { "value" => "Retired" }, "5" => { "value" => "Retired" },
"0" => { "value" => "Other" }, "0" => { "value" => "Other" },
"10" => { "value" => "Person prefers not to say" }, "10" => { "value" => "Person prefers not to say" },

Loading…
Cancel
Save