diff --git a/app/views/claims/support/claims/claim_activities/_manual_activities.html.erb b/app/views/claims/support/claims/claim_activities/_manual_activities.html.erb index 8d6683081..8b0f65b3a 100644 --- a/app/views/claims/support/claims/claim_activities/_manual_activities.html.erb +++ b/app/views/claims/support/claims/claim_activities/_manual_activities.html.erb @@ -4,19 +4,20 @@

<%= claim_activity.record.provider_name %>

- - - - - - - - - - - - - - - -
<%= t(".claim_reference") %><%= t(".number_of_mentors") %><%= t(".claim_amount") %>
<%= govuk_link_to claim_activity.record.reference, claims_support_claim_path(claim_activity.record) %><%= claim_activity.record.mentors.count %><%= humanized_money_with_symbol(claim_activity.record.amount) %>
+<%= govuk_table do |table| %> + <% table.with_head do |head| %> + <% head.with_row do |row| %> + <% row.with_cell text: t(".claim_reference") %> + <% row.with_cell text: t(".number_of_mentors") %> + <% row.with_cell text: t(".claim_amount") %> + <% end %> + <% end %> + + <% table.with_body do |body| %> + <% body.with_row do |row| %> + <% row.with_cell text: govuk_link_to(claim_activity.record.reference, claims_support_claim_path(claim_activity.record)) %> + <% row.with_cell text: claim_activity.record.mentors.count %> + <% row.with_cell text: humanized_money_with_symbol(claim_activity.record.amount) %> + <% end %> + <% end %> +<% end %> diff --git a/app/views/claims/support/claims/claim_activities/_payment_and_clawback_activities.html.erb b/app/views/claims/support/claims/claim_activities/_payment_and_clawback_activities.html.erb index bf1f4ccbb..9c7c9982c 100644 --- a/app/views/claims/support/claims/claim_activities/_payment_and_clawback_activities.html.erb +++ b/app/views/claims/support/claims/claim_activities/_payment_and_clawback_activities.html.erb @@ -12,22 +12,23 @@ <% claim_activity.record.claims.group_by(&:provider).each do |provider, provider_claims| %>

<%= provider.name %>

- - - - - - - - - - <% provider_claims.each do |claim| %> - - - - - + <%= govuk_table do |table| %> + <% table.with_head do |head| %> + <% head.with_row do |row| %> + <% row.with_cell text: t(".claim_reference") %> + <% row.with_cell text: t(".number_of_mentors") %> + <% row.with_cell text: t(".claim_amount") %> + <% end %> <% end %> - -
<%= t(".claim_reference") %><%= t(".number_of_mentors") %><%= t(".claim_amount") %>
<%= govuk_link_to claim.reference, claims_support_claim_path(claim) %><%= claim.mentors.count %><%= humanized_money_with_symbol(claim.amount) %>
+ + <% table.with_body do |body| %> + <% provider_claims.each do |claim| %> + <% body.with_row do |row| %> + <% row.with_cell text: govuk_link_to(claim.reference, claims_support_claim_path(claim)) %> + <% row.with_cell text: claim.mentors.count %> + <% row.with_cell text: humanized_money_with_symbol(claim.amount) %> + <% end %> + <% end %> + <% end %> + <% end %> <% end %> diff --git a/app/views/claims/support/claims/claim_activities/_sampling_activities.html.erb b/app/views/claims/support/claims/claim_activities/_sampling_activities.html.erb index d0947cfbb..9729b05db 100644 --- a/app/views/claims/support/claims/claim_activities/_sampling_activities.html.erb +++ b/app/views/claims/support/claims/claim_activities/_sampling_activities.html.erb @@ -12,22 +12,23 @@ <% end %> - - - - - - - - - - <% provider_sampling.claims.each do |claim| %> - - - - - + <%= govuk_table do |table| %> + <% table.with_head do |head| %> + <% head.with_row do |row| %> + <% row.with_cell text: t(".claim_reference") %> + <% row.with_cell text: t(".number_of_mentors") %> + <% row.with_cell text: t(".claim_amount") %> + <% end %> <% end %> - -
<%= t(".claim_reference") %><%= t(".number_of_mentors") %><%= t(".claim_amount") %>
<%= govuk_link_to claim.reference, claims_support_claim_path(claim) %><%= claim.mentors.count %><%= humanized_money_with_symbol(claim.amount) %>
+ + <% table.with_body do |body| %> + <% provider_sampling.claims.each do |claim| %> + <% body.with_row do |row| %> + <% row.with_cell text: govuk_link_to(claim.reference, claims_support_claim_path(claim)) %> + <% row.with_cell text: claim.mentors.count %> + <% row.with_cell text: humanized_money_with_symbol(claim.amount) %> + <% end %> + <% end %> + <% end %> + <% end %> <% end %>