Browse Source

Update shared guidance and sales file path

pull/1703/head
Kat 3 years ago
parent
commit
39b228724e
  1. 2
      app/models/forms/bulk_upload_sales/guidance.rb
  2. 9
      app/views/bulk_upload_shared/guidance.html.erb

2
app/models/forms/bulk_upload_sales/guidance.rb

@ -16,7 +16,7 @@ module Forms
end end
def old_template_path def old_template_path
Forms::BulkUploadLettings::PrepareYourFile.new.old_template_path Forms::BulkUploadSales::PrepareYourFile.new.old_template_path
end end
def template_path def template_path

9
app/views/bulk_upload_shared/guidance.html.erb

@ -54,7 +54,14 @@
<div class="govuk-!-padding-bottom-4"> <div class="govuk-!-padding-bottom-4">
<h2 class="govuk-heading-s">Getting help</h2> <h2 class="govuk-heading-s">Getting help</h2>
<p class="govuk-body">There is no step-by-step bulk upload guide like there is with single log upload. However, you can download <%= govuk_link_to "our template", @form.template_path %>, which you can copy-paste data into from your systems column-by-column. You can also view a post-upload report showing any data errors, and our <%= govuk_link_to "data specification", @form.specification_path, target: "_blank" %> can help fix these.</p> <p class="govuk-body">There is no step-by-step bulk upload guide like there is with single log upload. However, you can download <%= @form.year == 2022 ? govuk_link_to("our template", @form.template_path) : "one of our templates" %>, which you can copy-paste data into from your systems column-by-column. You can also view a post-upload report showing any data errors, and our <%= govuk_link_to "data specification", @form.specification_path, target: "_blank" %> can help fix these.</p>
<% if @form.year == 2023 %>
<%= govuk_details(summary_text: "How to choose the right template") do %>
<p class="govuk-body">Use one of these templates to upload logs for 2023/24:</p>
<p class="govuk-body"><%= 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.</p>
<p class="govuk-body"><%= 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.</p>
<% end %>
<% end %>
<p class="govuk-body">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.</p> <p class="govuk-body">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.</p>
</div> </div>
</div> </div>

Loading…
Cancel
Save