@ -2,89 +2,93 @@
<h2 class="govuk-heading-m">Collection resources</h2>
<h2 class="govuk-heading-m">Collection resources</h2>
<p class="govuk-body-s">For lettings starting during 1 April 2023 to 31 March 2024 and sales completing during the same period, use the 2023/24 forms.</p>
<p class="govuk-body-s">For lettings starting during 1 April 2023 to 31 March 2024 and sales completing during the same period, use the 2023/24 forms.</p>
<h3 class="govuk-heading-s">Lettings 2023/24</h3>
<% if FormHandler.instance.lettings_form_for_start_year(2023) && FormHandler.instance.lettings_form_for_start_year(2023).edit_end_date > Time.zone.today %>
<%= render DocumentListComponent.new(items: [
<h3 class="govuk-heading-s">Lettings 2023/24</h3>
{
<%= render DocumentListComponent.new(items: [
name: "Lettings log for tenants (2023/24)",
{
href: download_23_24_lettings_form_path,
name: "Lettings log for tenants (2023/24)",
metadata: file_type_size_and_pages("2023_24_lettings_paper_form.pdf", number_of_pages: 8),
href: download_23_24_lettings_form_path,
},
metadata: file_type_size_and_pages("2023_24_lettings_paper_form.pdf", number_of_pages: 8),
{
},
name: "Lettings bulk upload template (2023/24) – New question ordering",
{
href: download_23_24_lettings_bulk_upload_template_path,
name: "Lettings bulk upload template (2023/24) – New question ordering",
metadata: file_type_size_and_pages("bulk-upload-lettings-template-2023-24.xlsx"),
href: download_23_24_lettings_bulk_upload_template_path,
},
metadata: file_type_size_and_pages("bulk-upload-lettings-template-2023-24.xlsx"),
{
},
name: "Lettings bulk upload template (2023/24)",
{
href: download_23_24_lettings_bulk_upload_legacy_template_path,
name: "Lettings bulk upload template (2023/24)",
metadata: file_type_size_and_pages("bulk-upload-lettings-legacy-template-2023-24.xlsx"),
href: download_23_24_lettings_bulk_upload_legacy_template_path,
},
metadata: file_type_size_and_pages("bulk-upload-lettings-legacy-template-2023-24.xlsx"),
{
},
name: "Lettings bulk upload specification (2023/24)",
{
href: download_23_24_lettings_bulk_upload_specification_path,
name: "Lettings bulk upload specification (2023/24)",
metadata: file_type_size_and_pages("bulk-upload-lettings-specification-2023-24.xlsx"),
href: download_23_24_lettings_bulk_upload_specification_path,
},
metadata: file_type_size_and_pages("bulk-upload-lettings-specification-2023-24.xlsx"),
]) %>
},
]) %>
<h3 class="govuk-heading-s">Sales 2023/24</h3>
<h3 class="govuk-heading-s">Sales 2023/24</h3>
<%= render DocumentListComponent.new(items: [
<%= render DocumentListComponent.new(items: [
{
{
name: "Sales log for buyers (2023/24)",
name: "Sales log for buyers (2023/24)",
href: download_23_24_sales_form_path,
href: download_23_24_sales_form_path,
metadata: file_type_size_and_pages("2023_24_sales_paper_form.pdf", number_of_pages: 8),
metadata: file_type_size_and_pages("2023_24_sales_paper_form.pdf", number_of_pages: 8),
},
},
{
{
name: "Sales bulk upload template (2023/24) – New question ordering",
name: "Sales bulk upload template (2023/24) – New question ordering",
href: download_23_24_sales_bulk_upload_template_path,
href: download_23_24_sales_bulk_upload_template_path,
metadata: file_type_size_and_pages("bulk-upload-sales-template-2023-24.xlsx"),
metadata: file_type_size_and_pages("bulk-upload-sales-template-2023-24.xlsx"),
},
},
{
{
name: "Sales bulk upload template (2023/24)",
name: "Sales bulk upload template (2023/24)",
href: download_23_24_sales_bulk_upload_legacy_template_path,
href: download_23_24_sales_bulk_upload_legacy_template_path,
metadata: file_type_size_and_pages("bulk-upload-sales-legacy-template-2023-24.xlsx"),
metadata: file_type_size_and_pages("bulk-upload-sales-legacy-template-2023-24.xlsx"),
},
},
{
{
name: "Sales bulk upload specification (2023/24)",
name: "Sales bulk upload specification (2023/24)",
href: download_23_24_sales_bulk_upload_specification_path,
href: download_23_24_sales_bulk_upload_specification_path,
metadata: file_type_size_and_pages("bulk-upload-sales-specification-2023-24.xlsx"),
metadata: file_type_size_and_pages("bulk-upload-sales-specification-2023-24.xlsx"),
},
},
]) %>
]) %>
<% end %>
<h3 class="govuk-heading-s">Lettings 2022/23</h3>
<% if FormHandler.instance.lettings_form_for_start_year(2022) && FormHandler.instance.lettings_form_for_start_year(2022).edit_end_date > Time.zone.today %>
<%= render DocumentListComponent.new(items: [
<h3 class="govuk-heading-s">Lettings 2022/23</h3>
{
<%= render DocumentListComponent.new(items: [
name: "Lettings log for tenants (2022/23)",
{
href: download_22_23_lettings_form_path,
name: "Lettings log for tenants (2022/23)",
metadata: file_type_size_and_pages("2022_23_lettings_paper_form.pdf", number_of_pages: 4),
href: download_22_23_lettings_form_path,
},
metadata: file_type_size_and_pages("2022_23_lettings_paper_form.pdf", number_of_pages: 4),
{
},
name: "Lettings bulk upload template (2022/23)",
{
href: download_22_23_lettings_bulk_upload_template_path,
name: "Lettings bulk upload template (2022/23)",
metadata: file_type_size_and_pages("bulk-upload-lettings-template-2022-23.xlsx"),
href: download_22_23_lettings_bulk_upload_template_path,
},
metadata: file_type_size_and_pages("bulk-upload-lettings-template-2022-23.xlsx"),
{
},
name: "Lettings bulk upload specification (2022/23)",
{
href: download_22_23_lettings_bulk_upload_specification_path,
name: "Lettings bulk upload specification (2022/23)",
metadata: file_type_size_and_pages("bulk-upload-lettings-specification-2022-23.xlsx"),
href: download_22_23_lettings_bulk_upload_specification_path,
},
metadata: file_type_size_and_pages("bulk-upload-lettings-specification-2022-23.xlsx"),
]) %>
},
]) %>
<h3 class="govuk-heading-s">Sales 2022/23</h3>
<h3 class="govuk-heading-s">Sales 2022/23</h3>
<%= render DocumentListComponent.new(items: [
<%= render DocumentListComponent.new(items: [
{
{
name: "Sales log for buyers (2022/23)",
name: "Sales log for buyers (2022/23)",
href: download_22_23_sales_form_path,
href: download_22_23_sales_form_path,
metadata: file_type_size_and_pages("2022_23_sales_paper_form.pdf", number_of_pages: 5),
metadata: file_type_size_and_pages("2022_23_sales_paper_form.pdf", number_of_pages: 5),
},
},
{
{
name: "Sales bulk upload template (2022/23)",
name: "Sales bulk upload template (2022/23)",
href: download_22_23_sales_bulk_upload_template_path,
href: download_22_23_sales_bulk_upload_template_path,
metadata: file_type_size_and_pages("bulk-upload-sales-template-2022-23.xlsx"),
metadata: file_type_size_and_pages("bulk-upload-sales-template-2022-23.xlsx"),
},
},
{
{
name: "Sales bulk upload specification (2022/23)",
name: "Sales bulk upload specification (2022/23)",
href: download_22_23_sales_bulk_upload_specification_path,
href: download_22_23_sales_bulk_upload_specification_path,
metadata: file_type_size_and_pages("bulk-upload-sales-template-2022-23.xlsx"),
metadata: file_type_size_and_pages("bulk-upload-sales-template-2022-23.xlsx"),
},
},
]) %>
]) %>
<% end %>
</div>
</div>