fix administration view

This commit is contained in:
Simon Lehericey 2017-07-11 09:09:20 +02:00
parent 3efbb99421
commit 27cd42a100

View file

@ -21,7 +21,7 @@
= admin.procedures.published.count
%td
- total_dossier = 0
- admin.procedures.each do |procedure| total_dossier += procedure.dossiers.where.state_not_brouillon.count end
- admin.procedures.each do |procedure| total_dossier += procedure.dossiers.state_not_brouillon.count end
= total_dossier
= smart_listing.paginate
= smart_listing.pagination_per_page_links