Browse Source

Remove fixed term check for tenancy 7

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

3
app/models/case_log.rb

@ -210,7 +210,7 @@ class CaseLog < ApplicationRecord
end end
def is_fixed_term_tenancy? def is_fixed_term_tenancy?
[4, 6, 7].include?(tenancy) [4, 6].include?(tenancy)
end end
def is_secure_tenancy? def is_secure_tenancy?
@ -332,7 +332,6 @@ class CaseLog < ApplicationRecord
end end
def benefits_unknown? def benefits_unknown?
# 3: Don’t know
hb == 3 hb == 3
end end

Loading…
Cancel
Save