add completed submitters and documents

This commit is contained in:
Oleksandr Turchyn authored and Pete Matsyburka committed 2024-10-23 12:01:43 +03:00
1 parent c303159c63
commit e2f930f6f7
14 files changed
+302 -18

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
<div class="text-center px-2">
<% if local_assigns[:with_counter] %>
<% count = Submitter.where.not(completed_at: nil).distinct.count(:submission_id) %>
<% count = CompletedSubmitter.distinct.count(:submission_id) %>
<% if count > 1 %>
<%= t('count_documents_signed_with_html', count:) %>
<% else %>