|
|
@ -105,8 +105,8 @@ private |
|
|
|
dynamically_not_required << "other_reason_for_leaving_last_settled_home" |
|
|
|
dynamically_not_required << "other_reason_for_leaving_last_settled_home" |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
if net_income.to_i == 0 |
|
|
|
if net_income.to_i.zero? |
|
|
|
dynamically_not_required << "net_income_frequency" |
|
|
|
dynamically_not_required << "net_income_frequency" |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
required.delete_if { |key, _value| dynamically_not_required.include?(key) } |
|
|
|
required.delete_if { |key, _value| dynamically_not_required.include?(key) } |
|
|
|