File tree Expand file tree Collapse file tree
app/views/immunisation_imports Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77<% content_for :page_title, title %>
88
99<% if (cutoff_date = current_team.national_reporting_cut_off_date) && cutoff_date.today? %>
10- <%= govuk_notification_banner(title_text: "#{cutoff_date.to_fs(:long)} - Check where to upload records") do |notification_banner| %>
11- <% notification_banner.with_heading(text: "Vaccinations given:") %>
12- <ul >
13- < li > before <%= cutoff_date . to_fs ( :long ) %> must be uploaded to NIVS by the end of today</ li >
14- < li > on or after <%= cutoff_date . to_fs ( :long ) %> must be uploaded to Mavis national reporting only</ li >
15- </ ul >
10+ <%= govuk_notification_banner(title_text: "Important") do %>
11+ <h3 class ="nhsuk-notification-banner__heading ">
12+ Mavis national reporting replaces NIVS on <%= cutoff_date . to_fs ( :long ) %>
13+ </ h3 >
14+
15+ < h4 class ="nhsuk-u-margin-bottom-2 "> Vaccinations given before <%= cutoff_date . to_fs ( :long ) %> </ h4 >
16+ < p > Upload to NIVS by <%= cutoff_date . to_fs ( :long ) %> . After this, NIVS will no longer be available.</ p >
17+
18+ < h4 class ="nhsuk-u-margin-bottom-2 "> Vaccinations given on or after <%= cutoff_date . to_fs ( :long ) %> </ h4 >
19+ < p > Upload to Mavis national reporting only.</ p >
1620 <% end %>
1721<% end %>
1822
Original file line number Diff line number Diff line change 7979 given_i_am_signed_in_as_a_national_reporting_user
8080 when_i_navigate_to_the_upload_page
8181 expect ( page ) . to have_css ( ".nhsuk-notification-banner" )
82- expect ( page ) . to have_content ( "20 April 2026" )
83- expect ( page ) . to have_content ( "Check where to upload records" )
8482 expect ( page ) . to have_content (
85- "before 20 April 2026 must be uploaded to NIVS by the end of today "
83+ "Mavis national reporting replaces NIVS on 20 April 2026 "
8684 )
85+ expect ( page ) . to have_content ( "Vaccinations given before 20 April 2026" )
8786 expect ( page ) . to have_content (
88- "on or after 20 April 2026 must be uploaded to Mavis national reporting only "
87+ "Upload to NIVS by 20 April 2026. After this, NIVS will no longer be available. "
8988 )
89+ expect ( page ) . to have_content (
90+ "Vaccinations given on or after 20 April 2026"
91+ )
92+ expect ( page ) . to have_content ( "Upload to Mavis national reporting only." )
9093 end
9194 end
9295 end
You can’t perform that action at this time.
0 commit comments