<% if @booth_assignment.officers.empty? %>
<%= t("admin.poll_booth_assignments.show.no_officers") %>
<% else %>
<%= t("admin.poll_booth_assignments.show.officers_list") %>
<% @booth_assignment.officers.uniq.each do |officer| %>
| <%= link_to officer.name, by_officer_admin_poll_officer_assignments_path(@poll, officer_id: officer.id) %> |
<%= officer.email %> |
<% end %>
<% end %>
<%= t("admin.poll_booth_assignments.show.recounts_list") %>
| <%= t("admin.poll_booth_assignments.show.count_final") %> |
<% unless @poll.recounts_confirmed? %>
<%= t("admin.poll_booth_assignments.show.total_system") %> |
<% end %>
|
<%= total_recounts_by_booth(@booth_assignment) || "-" %>
|
<% unless @poll.recounts_confirmed? %>
<%= @booth_assignment.voters.count %>
|
<% end %>
<% unless @poll.recounts_confirmed? %>
| <%= t("admin.poll_booth_assignments.show.date") %> |
<%= t("admin.poll_booth_assignments.show.count_by_system") %> |
<% (@poll.starts_at.to_date..@poll.ends_at.to_date).each do |voting_date| %>
<% system_count = @voters_by_date[voting_date].present? ? @voters_by_date[voting_date].size : 0 %>
">
| <%= l voting_date %> |
<%= system_count %> |
<% end %>
<% end %>
<%= render "results" %>