Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Content changes to claim csv upload steps #1365

Merged
merged 4 commits into from
Feb 5, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
<%= form_for(current_step, url: current_step_path, method: :put) do |f| %>
<%= f.govuk_error_summary %>

<h2 class="govuk-heading-m"><%= current_step.file_name %></h2>
<h2 class="govuk-heading-m">
<%= t(".preview_of_file", file_name: current_step.file_name) %>
</h2>

<div class="horizontal-scrollable">
<%= govuk_table do |table| %>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@

<%= form_for(current_step, url: current_step_path, method: :put, multipart: true) do |f| %>
<%= f.govuk_error_summary(presenter: DetailedErrorSummaryPresenter) %>
<%= f.govuk_file_field :csv_upload, label: { text: t(".upload_csv_file"), size: "s" } %>
<p class="govuk-body"><%= t(".upload_the_csv_file") %></p>

<%= f.govuk_file_field :csv_upload, label: { text: t(".upload_csv_file"), hidden: true } %>

<%= govuk_details(summary_text: t(".csv_help")) do %>
<%= render_markdown(t(".csv_help_details")) %>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
<%= form_for(current_step, url: current_step_path, method: :put) do |f| %>
<%= f.govuk_error_summary %>

<h2 class="govuk-heading-m"><%= current_step.file_name %></h2>
<h2 class="govuk-heading-m">
<%= t(".preview_of_file", file_name: current_step.file_name) %>
</h2>

<div class="horizontal-scrollable">
<%= govuk_table do |table| %>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@

<%= form_for(current_step, url: current_step_path, method: :put, multipart: true) do |f| %>
<%= f.govuk_error_summary(presenter: DetailedErrorSummaryPresenter) %>
<%= f.govuk_file_field :csv_upload, label: { text: t(".upload_csv_file"), size: "s" } %>

<p class="govuk-body"><%= t(".upload_the_csv_file") %></p>

<%= f.govuk_file_field :csv_upload, label: { text: t(".upload_csv_file"), hidden: true } %>

<%= govuk_details(summary_text: t(".csv_help")) do %>
<%= render_markdown(t(".csv_help_details")) %>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,13 @@
<div class="govuk-grid-column-full">
<span class="govuk-caption-l"><%= t(".caption") %></span>
<h1 class="govuk-heading-l"><%= t(".title") %></h1>
<p class="govuk-body">
<%= t(".confirm_upload_details") %>
</p>

<%= form_for(current_step, url: current_step_path, method: :put) do |f| %>
<%= f.govuk_error_summary %>

<h2 class="govuk-heading-m"><%= current_step.file_name %></h2>
<h2 class="govuk-heading-m">
<%= t(".preview_of_file", file_name: current_step.file_name) %>
</h2>

<div class="horizontal-scrollable">
<%= govuk_table do |table| %>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@

<%= form_for(current_step, url: current_step_path, method: :put, multipart: true) do |f| %>
<%= f.govuk_error_summary(presenter: DetailedErrorSummaryPresenter) %>
<%= f.govuk_file_field :csv_upload, label: { text: t(".upload_csv_file"), size: "s" } %>

<p class="govuk-body"><%= t(".upload_the_csv_file") %></p>

<%= f.govuk_file_field :csv_upload, label: { text: t(".upload_csv_file"), hidden: true } %>

<%= govuk_details(summary_text: t(".csv_help")) do %>
<%= render_markdown(t(".csv_help_details")) %>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ en:
upload_csv_file: Upload CSV file
upload: Upload
csv_help: Help with the CSV file
upload_the_csv_file: Upload the CSV file sent to you by the payer.
csv_help_details: |
Use this form to upload the CSV file sent by the ESFA.

Expand All @@ -31,6 +32,7 @@ en:
confirm_upload: Confirm upload
only_showing_first_five_rows: Only showing the first 5 rows
showing_all_rows: Showing all rows
preview_of_file: Preview of %{file_name}
no_claims_step:
title: You cannot upload a payer response
page_title: You cannot upload a payer response - Clawbacks - Claims
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ en:
upload_csv_file: Upload CSV file
upload: Upload
csv_help: Help with the CSV file
upload_the_csv_file: Upload the CSV file sent to you by the payer.
csv_help_details: |
Use this form to upload the CSV file sent by the ESFA.

Expand Down Expand Up @@ -56,3 +57,4 @@ en:
confirm_upload: Confirm upload
only_showing_first_five_rows: Only showing the first 5 rows
showing_all_rows: Showing all rows
preview_of_file: Preview of %{file_name}
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ en:
upload_csv_file: Upload CSV file
upload: Upload
csv_help: Help with the CSV file
upload_the_csv_file: Upload the CSV file sent to you by the provider.
csv_help_details: |
Use this form to upload the CSV file sent by the provider.

Expand All @@ -26,13 +27,13 @@ en:
- claim_accepted
- rejection_reason
confirmation_step:
page_title: Upload provider response - Auditing - Claims
title: Upload provider response
page_title: Confirm you want to upload the provider response - Auditing - Claims
title: Confirm you want to upload the provider response
caption: Auditing
confirm_upload_details: Confirm these are the provider details you want to upload.
confirm_upload: Confirm upload
only_showing_first_five_rows: Only showing the first 5 rows
showing_all_rows: Showing all rows
preview_of_file: Preview of %{file_name}
no_claims_step:
title: You cannot upload a provider response
page_title: You cannot upload a provider response - Auditing - Claims
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -154,11 +154,10 @@ def when_i_upload_a_csv_containing_provider_responses_for_all_claims_with_the_st

def then_i_see_the_confirmation_page_for_uploading_provider_responses
expect(page).to have_title(
"Upload provider response - Auditing - Claims - Claim funding for mentor training - GOV.UK",
"Confirm you want to upload the provider response - Auditing - Claims - Claim funding for mentor training - GOV.UK",
)
expect(page).to have_h1("Upload provider response")
expect(page).to have_h1("Confirm you want to upload the provider response")
expect(page).to have_element(:span, text: "Auditing", class: "govuk-caption-l")
expect(page).to have_element(:p, text: "Confirm these are the provider details you want to upload.", class: "govuk-body")
expect(page).to have_h2("example_provider_response_upload.csv")
expect(page).to have_table_row(
"1" => "2",
Expand Down