<p class="govuk-body">The following groups of cells might have conflicting data. Check the answers and fix any incorrect data.<br><br>If the answers are correct, fix the critical errors and reupload the file. You'll need to confirm that the following data is correct when the file only contains potential errors.</p>
<h1 class="govuk-heading-l">Fix <%= pluralize(@bulk_upload.bulk_upload_errors.count, "error") %> and upload file again</h1>
<p class="govuk-body-l">
We could not create logs from your bulk upload. Below is a list of everything that you need to fix your spreadsheet. You can download the <%= govuk_link_to "specification", Forms::BulkUploadLettings::PrepareYourFile.new(year: @bulk_upload.year).specification_path, target: "_blank" %> to help you fix the cells in your CSV file.
We could not create logs from your bulk upload because of the following errors. Download the <%= govuk_link_to "specification", Forms::BulkUploadLettings::PrepareYourFile.new(year: @bulk_upload.year).specification_path, target: "_blank" %> to help you fix the cells in your CSV file.
<h1 class="govuk-heading-l">Fix <%= pluralize(@bulk_upload.bulk_upload_errors.count, "error") %> and upload file again</h1>
<p class="govuk-body-l">
We could not create logs from your bulk upload. Below is a list of everything that you need to fix your spreadsheet. You can download the <%= govuk_link_to "specification", Forms::BulkUploadSales::PrepareYourFile.new(year: @bulk_upload.year).specification_path, target: "_blank" %> to help you fix the cells in your CSV file.
We could not create logs from your bulk upload because of the following errors. Download the <%= govuk_link_to "specification", Forms::BulkUploadSales::PrepareYourFile.new(year: @bulk_upload.year).specification_path, target: "_blank" %> to help you fix the cells in your CSV file.
@ -63,7 +63,7 @@ RSpec.describe Form::Lettings::Questions::Declaration, type: :model do
end
it"returns correct unanswered_error_message"do
expect(question.unanswered_error_message).toeq("You must show the MHCLG privacy notice to the tenant before you can submit this log.")
expect(question.unanswered_error_message).toeq("You must show the MHCLG privacy notice to the tenant before you can submit this log")
end
end
@ -87,7 +87,7 @@ RSpec.describe Form::Lettings::Questions::Declaration, type: :model do
end
it"returns correct unanswered_error_message"do
expect(question.unanswered_error_message).toeq("You must show or give access to the MHCLG privacy notice to the tenant before you can submit this log.")
expect(question.unanswered_error_message).toeq("You must show or give the tenant access to the MHCLG privacy notice before you can submit this log")
@ -60,7 +60,7 @@ RSpec.describe Form::Sales::Questions::PrivacyNotice, type: :model do
end
it"returns correct unanswered_error_message"do
expect(question.unanswered_error_message).toeq("You must show the MHCLG privacy notice to the buyer before you can submit this log.")
expect(question.unanswered_error_message).toeq("You must show the MHCLG privacy notice to the buyer before you can submit this log")
end
end
@ -78,7 +78,7 @@ RSpec.describe Form::Sales::Questions::PrivacyNotice, type: :model do
end
it"returns correct unanswered_error_message"do
expect(question.unanswered_error_message).toeq("You must show the MHCLG privacy notice to the buyers before you can submit this log.")
expect(question.unanswered_error_message).toeq("You must show the MHCLG privacy notice to the buyers before you can submit this log")
end
end
end
@ -100,7 +100,7 @@ RSpec.describe Form::Sales::Questions::PrivacyNotice, type: :model do
end
it"returns correct unanswered_error_message"do
expect(question.unanswered_error_message).toeq("You must show or give access to the MHCLG privacy notice to the buyer before you can submit this log.")
expect(question.unanswered_error_message).toeq("You must show or give the buyer access to the MHCLG privacy notice before you can submit this log")
end
end
@ -118,7 +118,7 @@ RSpec.describe Form::Sales::Questions::PrivacyNotice, type: :model do
end
it"returns correct unanswered_error_message"do
expect(question.unanswered_error_message).toeq("You must show or give access to the MHCLG privacy notice to the buyers before you can submit this log.")
expect(question.unanswered_error_message).toeq("You must show or give the buyers access to the MHCLG privacy notice before you can submit this log")