2018-09-05 14:48:42 +02:00
|
|
|
|
- content_for(:title, 'Liste de démarches douteuses')
|
2018-01-05 11:16:50 +01:00
|
|
|
|
|
2018-05-07 12:24:05 +02:00
|
|
|
|
- if @procedures_and_type_de_champs.any?
|
|
|
|
|
%ul
|
|
|
|
|
- @procedures_and_type_de_champs.each do |procedure, type_de_champs|
|
2018-05-25 08:30:23 +02:00
|
|
|
|
%li{ style: 'margin-bottom: 8px;' }
|
2018-05-07 12:24:05 +02:00
|
|
|
|
= link_to "Nº #{procedure.id},", manager_procedure_url(procedure)
|
|
|
|
|
#{procedure.libelle} :
|
|
|
|
|
%b= type_de_champs.map(&:libelle).join(', ')
|
2018-05-25 08:29:36 +02:00
|
|
|
|
%br
|
|
|
|
|
État : #{procedure.aasm_state}
|
|
|
|
|
%br
|
|
|
|
|
Nombre de dossier : #{procedure.dossiers.count}
|
|
|
|
|
%br
|
|
|
|
|
Admin :
|
2019-02-26 16:18:04 +01:00
|
|
|
|
%ul
|
|
|
|
|
- procedure.administrateurs.each do |administrateur|
|
|
|
|
|
%li
|
|
|
|
|
= link_to "#{administrateur.email}", "mailto:#{administrateur.email}"
|
2018-05-07 12:24:05 +02:00
|
|
|
|
- else
|
2021-05-26 15:16:30 +02:00
|
|
|
|
Il n’y a aucune démarche douteuse aujourd'hui
|