Browse Source

Code review fix

pull/470/head
Stéphane Meny 3 years ago
parent
commit
8698eda54b
No known key found for this signature in database
GPG Key ID: 9D0AFEA988527923
  1. 1
      app/models/case_log.rb

1
app/models/case_log.rb

@ -411,7 +411,6 @@ private
weekly_value(tshortfall) weekly_value(tshortfall)
end end
self.nocharge = household_charge&.zero? ? 1 : 0 self.nocharge = household_charge&.zero? ? 1 : 0
self.underoccupation_benefitcap = 3 if renewal == 1 && collection_start_year == 2021
self.housingneeds = get_housingneeds self.housingneeds = get_housingneeds
if is_renewal? if is_renewal?
self.underoccupation_benefitcap = 2 if collection_start_year == 2021 self.underoccupation_benefitcap = 2 if collection_start_year == 2021

Loading…
Cancel
Save