Browse Source

Update mappings based on content changes and add tests for property type validation

pull/147/head
Kat 4 years ago
parent
commit
71e495e564
  1. 15
      app/models/constants/case_log.rb

15
app/models/constants/case_log.rb

@ -698,5 +698,20 @@ module Constants::CaseLog
"Rent to buy" => "Intermediate Rent",
"London living rent" => "Intermediate Rent",
"Other intermediate rent product" => "Intermediate Rent",
}.freeze
LET_TYPE = {
"Social Rent General needs PRP" => 1,
"Social Rent Supported housing PRP" => 2,
"Social Rent General needs LA" => 3,
"Social Rent Supported housing LA" => 4,
"Affordable Rent General needs PRP" => 5,
"Affordable Rent Supported housing PRP" => 6,
"Affordable Rent General needs LA" => 7,
"Affordable Rent Supported housing LA" => 8,
"Intermediate Rent General needs PRP" => 9,
"Intermediate Rent Supported housing PRP" => 10,
"Intermediate Rent General needs LA" => 11,
"Intermediate Rent Supported housing LA" => 12,
}.freeze
end

Loading…
Cancel
Save