diff --git a/app/models/forms/bulk_upload_lettings/guidance.rb b/app/models/forms/bulk_upload_lettings/guidance.rb index 55db10718..862a8af51 100644 --- a/app/models/forms/bulk_upload_lettings/guidance.rb +++ b/app/models/forms/bulk_upload_lettings/guidance.rb @@ -15,8 +15,8 @@ module Forms bulk_upload_lettings_log_path(id: "prepare-your-file", form: { year: }) end - def old_template_path - Forms::BulkUploadLettings::PrepareYourFile.new.old_template_path + def legacy_template_path + Forms::BulkUploadLettings::PrepareYourFile.new.legacy_template_path end def template_path diff --git a/app/models/forms/bulk_upload_lettings/prepare_your_file.rb b/app/models/forms/bulk_upload_lettings/prepare_your_file.rb index 26032e614..601f09848 100644 --- a/app/models/forms/bulk_upload_lettings/prepare_your_file.rb +++ b/app/models/forms/bulk_upload_lettings/prepare_your_file.rb @@ -30,7 +30,7 @@ module Forms bulk_upload_lettings_log_path(id: page_id, form: { year:, needstype: }) end - def old_template_path + def legacy_template_path case year when 2022 "/files/bulk-upload-lettings-template-2022-23.xlsx" diff --git a/app/models/forms/bulk_upload_sales/guidance.rb b/app/models/forms/bulk_upload_sales/guidance.rb index ec64f2505..eb472ad3a 100644 --- a/app/models/forms/bulk_upload_sales/guidance.rb +++ b/app/models/forms/bulk_upload_sales/guidance.rb @@ -15,8 +15,8 @@ module Forms bulk_upload_sales_log_path(id: "prepare-your-file", form: { year: }) end - def old_template_path - Forms::BulkUploadSales::PrepareYourFile.new.old_template_path + def legacy_template_path + Forms::BulkUploadSales::PrepareYourFile.new.legacy_template_path end def template_path diff --git a/app/models/forms/bulk_upload_sales/prepare_your_file.rb b/app/models/forms/bulk_upload_sales/prepare_your_file.rb index d29eaef89..db37d45ab 100644 --- a/app/models/forms/bulk_upload_sales/prepare_your_file.rb +++ b/app/models/forms/bulk_upload_sales/prepare_your_file.rb @@ -28,7 +28,7 @@ module Forms bulk_upload_sales_log_path(id: "upload-your-file", form: { year: }) end - def old_template_path + def legacy_template_path "/files/bulk-upload-sales-template-2022-23.xlsx" end diff --git a/app/views/bulk_upload_lettings_logs/forms/prepare_your_file_2023.html.erb b/app/views/bulk_upload_lettings_logs/forms/prepare_your_file_2023.html.erb index 7a336a7fb..f15972491 100644 --- a/app/views/bulk_upload_lettings_logs/forms/prepare_your_file_2023.html.erb +++ b/app/views/bulk_upload_lettings_logs/forms/prepare_your_file_2023.html.erb @@ -19,7 +19,7 @@
  • - <%= govuk_link_to "Legacy template", @form.old_template_path %>: In this template, the questions are in the same order as the 2022/23 template, with new questions added on to the end. + <%= govuk_link_to "Legacy template", @form.legacy_template_path %>: In this template, the questions are in the same order as the 2022/23 template, with new questions added on to the end.
  • diff --git a/app/views/bulk_upload_sales_logs/forms/prepare_your_file_2022.html.erb b/app/views/bulk_upload_sales_logs/forms/prepare_your_file_2022.html.erb index 62e43c6cd..624b3fe8b 100644 --- a/app/views/bulk_upload_sales_logs/forms/prepare_your_file_2022.html.erb +++ b/app/views/bulk_upload_sales_logs/forms/prepare_your_file_2022.html.erb @@ -12,7 +12,7 @@

    Download template

    Create your file

    diff --git a/app/views/bulk_upload_sales_logs/forms/prepare_your_file_2023.html.erb b/app/views/bulk_upload_sales_logs/forms/prepare_your_file_2023.html.erb index 2e90e2a00..82f347a84 100644 --- a/app/views/bulk_upload_sales_logs/forms/prepare_your_file_2023.html.erb +++ b/app/views/bulk_upload_sales_logs/forms/prepare_your_file_2023.html.erb @@ -13,8 +13,8 @@

    Download template

    Create your file

    diff --git a/app/views/bulk_upload_shared/guidance.html.erb b/app/views/bulk_upload_shared/guidance.html.erb index abc6cba49..d2fdc9230 100644 --- a/app/views/bulk_upload_shared/guidance.html.erb +++ b/app/views/bulk_upload_shared/guidance.html.erb @@ -59,7 +59,7 @@ <%= govuk_details(summary_text: "How to choose the right template") do %>

    Use one of these templates to upload logs for 2023/24:

    <%= govuk_link_to "New template", @form.template_path %>: In this template, the questions are in the same order as the 2023/24 paper form and web form. Use this template if your organisation is new to bulk upload or if your housing management system matches the new column ordering.

    -

    <%= govuk_link_to "Legacy template", @form.old_template_path %>: In this template, the questions are in the same order as the 2022/23 template, with new questions added on to the end. Use this template if you have not updated your system to match the new template yet.

    +

    <%= govuk_link_to "Legacy template", @form.legacy_template_path %>: In this template, the questions are in the same order as the 2022/23 template, with new questions added on to the end. Use this template if you have not updated your system to match the new template yet.

    <% end %> <% end %>

    If you still need support mapping data in the way we need, DLUHC’s helpdesk can help. If your data is across multiple systems, or is hard to export as a single file in the correct format, you could try different exports, or copy-pasting data by hand.