2018-01-05 11:16:50 +01:00
|
|
|
|
- content_for(:title, 'Liste de procédures douteuses')
|
|
|
|
|
|
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 :
|
|
|
|
|
= link_to "#{procedure.administrateur.email}", "mailto:#{procedure.administrateur.email}"
|
2018-05-07 12:24:05 +02:00
|
|
|
|
- else
|
|
|
|
|
Il n'y a aucune procédure douteuse aujourd'hui
|