Browse Source

Merge pull request #468 from communitiesuk/cldc-1140-ethnic

CLDC-1140: Don't combine two separate ethnic questions
pull/474/head
baarkerlounger 3 years ago committed by GitHub
parent
commit
1199295e77
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      app/models/case_log.rb

1
app/models/case_log.rb

@ -432,7 +432,6 @@ private
end end
self.nocharge = household_charge&.zero? ? 1 : 0 self.nocharge = household_charge&.zero? ? 1 : 0
self.underoccupation_benefitcap = 3 if renewal == 1 && year == 2021 self.underoccupation_benefitcap = 3 if renewal == 1 && year == 2021
self.ethnic = ethnic || ethnic_group
self.housingneeds = get_housingneeds self.housingneeds = get_housingneeds
if is_renewal? if is_renewal?
self.underoccupation_benefitcap = 2 if year == 2021 self.underoccupation_benefitcap = 2 if year == 2021

Loading…
Cancel
Save