diff --git a/app/views/admin/poll/officer_assignments/by_officer.html.erb b/app/views/admin/poll/officer_assignments/by_officer.html.erb index afc674769..6ea421e2d 100644 --- a/app/views/admin/poll/officer_assignments/by_officer.html.erb +++ b/app/views/admin/poll/officer_assignments/by_officer.html.erb @@ -27,10 +27,7 @@ <% end %> -<% end %> -<% final_officer_assignments = @officer_assignments.select{|oa| oa.final == true} %> -<% if final_officer_assignments.any? %>
| <%= l(officer_assignment.date.to_date) %> | <%= booth_name_with_location(officer_assignment.booth_assignment.booth) %> | - <% if officer_assignment.total_recounts.any? %> - <%= officer_assignment.total_recounts.to_a.sum(&:amount) %> + <% if officer_assignment.total_results.any? %> + <%= officer_assignment.total_results.to_a.sum(&:amount) %> <% else %> - <% end %> |