diff --git a/app/models/lettings_log.rb b/app/models/lettings_log.rb index 0dd805ef4..5a11da38a 100644 --- a/app/models/lettings_log.rb +++ b/app/models/lettings_log.rb @@ -191,7 +191,7 @@ class LettingsLog < Log NUM_OF_WEEKS_FROM_PERIOD = { 2 => 26, 3 => 13, 4 => 12, 5 => 50, 6 => 49, 7 => 48, 8 => 47, 9 => 46, 11 => 51, 1 => 52, 10 => 53 }.freeze SUFFIX_FROM_PERIOD = { 2 => "every 2 weeks", 3 => "every 4 weeks", 4 => "every month" }.freeze DUPLICATE_LOG_ATTRIBUTES = %w[owning_organisation_id tenancycode startdate age1_known age1 sex1 sexrab1 ecstat1 tcharge household_charge chcharge].freeze - MAX_PEOPLE_WITH_DETAILS = 8 + MAX_PEOPLE_WITH_DETAILS = 8 # This is not yet used in all lettings validations etc. so check for other occurrences of this concept if updating this RENT_TYPE = { social_rent: 0, affordable_rent: 1, diff --git a/app/models/sales_log.rb b/app/models/sales_log.rb index 5c2bcf156..06f1c201b 100644 --- a/app/models/sales_log.rb +++ b/app/models/sales_log.rb @@ -104,7 +104,7 @@ class SalesLog < Log OPTIONAL_FIELDS = %w[purchid othtype buyers_organisations].freeze DUPLICATE_LOG_ATTRIBUTES = %w[owning_organisation_id purchid saledate age1_known age1 sex1 sexrab1 ecstat1 postcode_full uprn address_line1].freeze - MAX_PEOPLE_WITH_DETAILS = 6 + MAX_PEOPLE_WITH_DETAILS = 6 # This is not yet used in all sales validations etc. so check for other occurrences of this concept if updating this def lettings? false