Browse Source

CLDC-3414&5 Close 2023/24 - No new/No editing of entries (#2520)

* Close 2023/24
pull/2519/head v0.4.60
Manny Dinssa 6 months ago committed by GitHub
parent
commit
6273a076cb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      app/models/form.rb
  2. 2
      app/views/bulk_upload_lettings_logs/forms/prepare_your_file_2024.html.erb
  3. 4
      app/views/layouts/_collection_resources.html.erb

2
app/models/form.rb

@ -11,6 +11,8 @@ class Form
}, },
2023 => { 2023 => {
submission_deadline: Time.zone.local(2024, 6, 7), submission_deadline: Time.zone.local(2024, 6, 7),
new_logs_end_date: Time.zone.local(2024, 7, 22),
edit_end_date: Time.zone.local(2024, 7, 22),
}, },
2024 => { 2024 => {
submission_deadline: Time.zone.local(2025, 6, 6), submission_deadline: Time.zone.local(2025, 6, 6),

2
app/views/bulk_upload_lettings_logs/forms/prepare_your_file_2024.html.erb

@ -26,7 +26,7 @@
<li>If you have reordered the headers, keep the headers in the file.</li> <li>If you have reordered the headers, keep the headers in the file.</li>
</ul> </ul>
<%= govuk_inset_text(text: "You can upload both general needs and supported housing logs in the same file for 2023/24 data.") %> <%= govuk_inset_text(text: "You can upload both general needs and supported housing logs in the same file for 2024/25 data.") %>
<h2 class="govuk-heading-s">Save your file</h2> <h2 class="govuk-heading-s">Save your file</h2>

4
app/views/layouts/_collection_resources.html.erb

@ -6,7 +6,9 @@
<h2 class="govuk-heading-m">Collection resources</h2> <h2 class="govuk-heading-m">Collection resources</h2>
<% end %> <% end %>
<p class="govuk-body">Use the 2024 to 2025 forms for lettings that start and sales that complete between 1 April 2024 and 31 March 2025.</p> <p class="govuk-body">Use the 2024 to 2025 forms for lettings that start and sales that complete between 1 April 2024 and 31 March 2025.</p>
<p class="govuk-body">Use the 2023 to 2024 forms for lettings that start and sales that complete between 1 April 2023 and 31 March 2024.</p> <% if FormHandler.instance.lettings_form_for_start_year(2023) && FormHandler.instance.lettings_form_for_start_year(2023).edit_end_date > Time.zone.today %>
<p class="govuk-body">Use the 2023 to 2024 forms for lettings that start and sales that complete between 1 April 2023 and 31 March 2024.</p>
<% end %>
<div class="app-tab__list-view"> <div class="app-tab__list-view">
<%= govuk_tabs(title: "Collection resources", classes: %w[app-tab__small-headers]) do |c| %> <%= govuk_tabs(title: "Collection resources", classes: %w[app-tab__small-headers]) do |c| %>
<% if FormHandler.instance.lettings_form_for_start_year(2024) && FormHandler.instance.lettings_form_for_start_year(2024).edit_end_date > Time.zone.today %> <% if FormHandler.instance.lettings_form_for_start_year(2024) && FormHandler.instance.lettings_form_for_start_year(2024).edit_end_date > Time.zone.today %>

Loading…
Cancel
Save