Browse Source

CLDC-2233 Link to correct bulk upload csv (#1573)

# Context

- https://digital.dclg.gov.uk/jira/browse/CLDC-2233

# Changes

- Rework to link to correct 23/24 legacy bulk upload template
pull/1576/head
Phil Lee 2 years ago committed by GitHub
parent
commit
225a89df37
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      app/models/forms/bulk_upload_lettings/prepare_your_file.rb

7
app/models/forms/bulk_upload_lettings/prepare_your_file.rb

@ -26,7 +26,12 @@ module Forms
end
def old_template_path
"/files/bulk-upload-lettings-template-2022-23.xlsx"
case year
when 2022
"/files/bulk-upload-lettings-template-2022-23.xlsx"
when 2023
"/files/bulk-upload-lettings-legacy-template-2023-24.xlsx"
end
end
def template_path

Loading…
Cancel
Save