Browse Source

Update secure helper

pull/578/head
baarkerlounger 3 years ago
parent
commit
e7dad5ec6e
  1. 4
      app/models/case_log.rb

4
app/models/case_log.rb

@ -193,7 +193,11 @@ class CaseLog < ApplicationRecord
def is_secure_tenancy? def is_secure_tenancy?
# 1: Secure (including flexible) # 1: Secure (including flexible)
if collection_start_year < 2022
tenancy == 1 tenancy == 1
else
[6, 7].include?(tenancy)
end
end end
def is_assured_shorthold_tenancy? def is_assured_shorthold_tenancy?

Loading…
Cancel
Save