|
|
@ -59,14 +59,10 @@ module DerivedVariables::LettingsLogVariables |
|
|
|
self.hhtype = household_type |
|
|
|
self.hhtype = household_type |
|
|
|
self.new_old = new_or_existing_tenant |
|
|
|
self.new_old = new_or_existing_tenant |
|
|
|
|
|
|
|
|
|
|
|
if is_supported_housing? |
|
|
|
if is_supported_housing? && location |
|
|
|
if location |
|
|
|
self.wchair = location.mobility_type_before_type_cast == "W" ? 1 : 2 |
|
|
|
self.wchair = location.mobility_type_before_type_cast == "W" ? 1 : 2 |
|
|
|
|
|
|
|
end |
|
|
|
|
|
|
|
if is_renewal? |
|
|
|
|
|
|
|
self.voiddate = startdate |
|
|
|
|
|
|
|
end |
|
|
|
|
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
self.voiddate = startdate if is_renewal? |
|
|
|
self.vacdays = property_vacant_days |
|
|
|
self.vacdays = property_vacant_days |
|
|
|
|
|
|
|
|
|
|
|
set_housingneeds_fields if housingneeds? |
|
|
|
set_housingneeds_fields if housingneeds? |
|
|
|