@ -48,7 +48,7 @@ class OrganisationRelationshipsController < ApplicationController
flash[:notice]="#{@organisation_relationship.parent_organisation.name} is now one of #{current_user.data_coordinator??'your':"this organisation's"} stock owners"
flash[:notice]="#{@organisation_relationship.parent_organisation.name} is now one of #{current_user.data_coordinator??'your':"this organisation's"} stock owners"
@ -60,7 +60,7 @@ class OrganisationRelationshipsController < ApplicationController
flash[:notice]="#{@organisation_relationship.child_organisation.name} is now one of #{current_user.data_coordinator??'your':"this organisation's"} managing agents"
flash[:notice]="#{@organisation_relationship.child_organisation.name} is now one of #{current_user.data_coordinator??'your':"this organisation's"} managing agents"
answer_opts[org.id]="#{org.name} (inactive as of #{org.merge_date.to_fs(:govuk_date)})"iforg.merge_date>=FormHandler.instance.start_date_of_earliest_open_for_editing_collection_period
answer_opts[org.id]="#{org.name} (inactive as of #{org.merge_date.to_fs(:govuk_date)})"iforg.merge_date>=FormHandler.instance.start_date_of_earliest_open_for_editing_collection_period
answer_opts[org.id]="#{org.name} (inactive as of #{org.merge_date.to_fs(:govuk_date)})"iforg.merge_date>=FormHandler.instance.start_date_of_earliest_open_for_editing_collection_period
answer_opts[org.id]="#{org.name} (inactive as of #{org.merge_date.to_fs(:govuk_date)})"iforg.merge_date>=FormHandler.instance.start_date_of_earliest_open_for_editing_collection_period
reactivated:"%{organisation} has been reactivated."
deactivated:"%{organisation} has been deactivated."
user:
user:
create_password:"Create a password to finish setting up your account"
create_password:"Create a password to finish setting up your account"
reset_password:"Reset your password"
reset_password:"Reset your password"
@ -860,6 +862,9 @@ Make sure these answers are correct."
offered:"Times previously offered since becoming available"
offered:"Times previously offered since becoming available"
warnings:
warnings:
organisation:
deactivate:"All schemes and users at this organisation will be deactivated. All the organisation's relationships will be removed. It will no longer be possible to create logs for this organisation."
reactivate:"All schemes, users, and relationships that were active when this organisation was deactivated will be reactivated."
location:
location:
deactivate:
deactivate:
existing_logs:"It will not be possible to add logs with this location if their tenancy start date is on or after the date you enter. Any existing logs may be affected."
existing_logs:"It will not be possible to add logs with this location if their tenancy start date is on or after the date you enter. Any existing logs may be affected."
@ -111,7 +118,7 @@ RSpec.describe Form::Lettings::Questions::ManagingOrganisation, type: :model do
}
}
end
end
it"shows current managing agent at top, followed by the current owning organisation (with hint), followed by the managing agents of the current owning organisation"do
it"shows current managing agent at top, followed by the current owning organisation (with hint), followed by the active managing agents of the current owning organisation"do
it"shows current managing agent at top, followed by the current owning organisation (with hint), followed by the managing agents of the current owning organisation"do
it"shows current managing agent at top, followed by the current owning organisation (with hint), followed by the active managing agents of the current owning organisation"do
@ -80,7 +81,8 @@ RSpec.describe Form::Sales::Questions::ManagingOrganisation, type: :model do
}
}
end
end
it"shows current managing agent at top, followed by the current owning organisation (with hint), followed by the managing agents of the current owning organisation"do
it"shows current managing agent at top, followed by the current owning organisation (with hint), followed by the active managing agents of the current owning organisation"do