Browse Source

Revert changes in derived variables

pull/2801/head
Manny Dinssa 8 months ago
parent
commit
b8bf4d22b3
  1. 2
      app/models/derived_variables/sales_log_variables.rb

2
app/models/derived_variables/sales_log_variables.rb

@ -177,8 +177,6 @@ private
(start_index..6).each do |idx| (start_index..6).each do |idx|
if age_under_16?(idx) if age_under_16?(idx)
self["ecstat#{idx}"] = 9 self["ecstat#{idx}"] = 9
elsif self["ecstat#{idx}"] == 9 && age_known?(idx) == false
self["ecstat#{idx}"] = nil
end end
end end
end end

Loading…
Cancel
Save