over_max_column_count:"too many columns, please ensure you have used the correct template"
under_min_column_count:"too few columns, please ensure you have used the correct template"
forms/bulk_upload_lettings/year:
attributes:
year:
@ -154,6 +159,8 @@ en:
Enter a date within the %{current_start_year_short}/%{current_end_year_short} collection year, which is between %{current_start_year_long} and %{current_end_year_long}
previous_and_current_financial_year:
"Enter a date within the %{previous_start_year_short}/%{previous_end_year_short} or %{previous_end_year_short}/%{current_end_year_short} collection years, which is between %{previous_start_year_long} and %{current_end_year_long}"
type:
percentage_bought_must_be_at_least_threshold:"The minimum increase in equity while staircasing is %{threshold}% for this shared ownership type"
startdate:
current_financial_year:
@ -301,6 +308,7 @@ en:
staircasing:
percentage_bought_must_be_greater_than_percentage_owned:"Total percentage buyer now owns must be more than percentage bought in this transaction"
older_person_percentage_owned_maximum_75:"Percentage cannot be above 75% under Older Person's Shared Ownership"
percentage_bought_must_be_at_least_threshold:"The minimum increase in equity while staircasing is %{threshold}%"
it"adds an error to stairbought and type if the percentage bought is less than the threshold (which is 1% by default, but higher for some shared ownership types)"do
expect(record.errors["stairbought"]).toeq(["The minimum increase in equity while staircasing is 1%"])
expect(record.errors["type"]).toeq(["The minimum increase in equity while staircasing is 1% for this shared ownership type"])
record.errors.clear
end
end
it"doesn't add an error to stairbought and type if the percentage bought is less than the threshold (which is 1% by default, but higher for some shared ownership types)"do