|
|
@ -672,8 +672,8 @@ module Constants::DbEnums |
|
|
|
}.freeze |
|
|
|
}.freeze |
|
|
|
|
|
|
|
|
|
|
|
NEEDS_TYPE = { |
|
|
|
NEEDS_TYPE = { |
|
|
|
"General Needs" => 1, |
|
|
|
"General needs" => 1, |
|
|
|
"Supported Housing" => 2, |
|
|
|
"Supported housing" => 2, |
|
|
|
}.freeze |
|
|
|
}.freeze |
|
|
|
|
|
|
|
|
|
|
|
ORG_TYPE = { |
|
|
|
ORG_TYPE = { |
|
|
@ -682,17 +682,26 @@ module Constants::DbEnums |
|
|
|
}.freeze |
|
|
|
}.freeze |
|
|
|
|
|
|
|
|
|
|
|
LET_TYPE = { |
|
|
|
LET_TYPE = { |
|
|
|
"Social Rent General Needs PRP" => 1, |
|
|
|
"Social Rent General needs PRP" => 1, |
|
|
|
"Social Rent Supported Housing PRP" => 2, |
|
|
|
"Social Rent Supported housing PRP" => 2, |
|
|
|
"Social Rent General Needs LA" => 3, |
|
|
|
"Social Rent General needs LA" => 3, |
|
|
|
"Social Rent Supported Housing LA" => 4, |
|
|
|
"Social Rent Supported housing LA" => 4, |
|
|
|
"Affordable Rent General Needs PRP" => 5, |
|
|
|
"Affordable Rent General needs PRP" => 5, |
|
|
|
"Affordable Rent Supported Housing PRP" => 6, |
|
|
|
"Affordable Rent Supported housing PRP" => 6, |
|
|
|
"Affordable Rent General Needs LA" => 7, |
|
|
|
"Affordable Rent General needs LA" => 7, |
|
|
|
"Affordable Rent Supported Housing LA" => 8, |
|
|
|
"Affordable Rent Supported housing LA" => 8, |
|
|
|
"Intermediate Rent General Needs PRP" => 9, |
|
|
|
"Intermediate Rent General needs PRP" => 9, |
|
|
|
"Intermediate Rent Supported Housing PRP" => 10, |
|
|
|
"Intermediate Rent Supported housing PRP" => 10, |
|
|
|
"Intermediate Rent General Needs LA" => 11, |
|
|
|
"Intermediate Rent General needs LA" => 11, |
|
|
|
"Intermediate Rent Supported Housing LA" => 12, |
|
|
|
"Intermediate Rent Supported housing LA" => 12, |
|
|
|
|
|
|
|
}.freeze |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
RENT_TYPE_MAPPING = { |
|
|
|
|
|
|
|
"Social rent" => "Social Rent", |
|
|
|
|
|
|
|
"Affordable rent" => "Affordable Rent", |
|
|
|
|
|
|
|
"London Affordable rent" => "Affordable Rent", |
|
|
|
|
|
|
|
"Rent to buy" => "Intermediate Rent", |
|
|
|
|
|
|
|
"London living rent" => "Intermediate Rent", |
|
|
|
|
|
|
|
"Other intermediate rent product" => "Intermediate Rent", |
|
|
|
}.freeze |
|
|
|
}.freeze |
|
|
|
end |
|
|
|
end |
|
|
|