Browse Source

WIP fix

pull/1931/head
natdeanlewissoftwire 3 years ago
parent
commit
f7625fbcd0
  1. 2
      app/models/derived_variables/lettings_log_variables.rb

2
app/models/derived_variables/lettings_log_variables.rb

@ -275,7 +275,7 @@ private
def reset_scheme_location! def reset_scheme_location!
self.location = nil self.location = nil
if scheme && scheme.locations.active_in_2_weeks.size == 1 if scheme && scheme.locations.active_in_2_weeks.size == 1
self.location = scheme.locations.first self.location = scheme.locations.active_in_2_weeks.first
end end
end end

Loading…
Cancel
Save