Display the same results for stats and recounts

In the recounts we were incorrectly assuming the total amount included
the blank and invalid ballots.
This commit is contained in:
Javi Martín
2019-05-30 13:58:31 +02:00
parent 6881ee134a
commit 123196e4ed
4 changed files with 9 additions and 11 deletions

View File

@@ -24,9 +24,9 @@
<tr>
<td><strong><%= t("admin.recounts.index.all_booths_total") %></strong></td>
<% unless @poll.budget_poll? %>
<td class="text-center" id="total_final"><%= @all_booths_counts[:final] %></td>
<td class="text-center" id="total_final"><%= @stats.total_participants_booth %></td>
<% end %>
<td class="text-center" id="total_system"><%= @all_booths_counts[:system] %></td>
<td class="text-center" id="total_system"><%= @stats.total_registered_booth %></td>
</tr>
</tbody>
</table>