fix missing procedure in AdministrationMailer#dossier_expiration_summary
This commit is contained in:
parent
d4a8dd05a0
commit
2eda3b193c
1 changed files with 8 additions and 2 deletions
|
@ -5,7 +5,10 @@
|
|||
- @expired_dossiers.group_by(&:procedure).each do |procedure, dossiers|
|
||||
%dl
|
||||
%dt
|
||||
#{procedure.libelle} (#{link_to(procedure.id, manager_procedure_url(procedure))}) :
|
||||
- if procedure.present?
|
||||
#{procedure.libelle} (#{link_to(procedure.id, manager_procedure_url(procedure))}) :
|
||||
- else
|
||||
Procédure supprimée
|
||||
%dd
|
||||
= dossiers.map { |d| link_to(d.id, manager_dossier_url(d)) }.join(', ').html_safe
|
||||
|
||||
|
@ -14,7 +17,10 @@
|
|||
- @expiring_dossiers.group_by(&:procedure).each do |procedure, dossiers|
|
||||
%dl
|
||||
%dt
|
||||
#{procedure.libelle} (#{link_to(procedure.id, manager_procedure_url(procedure))}) :
|
||||
- if procedure.present?
|
||||
#{procedure.libelle} (#{link_to(procedure.id, manager_procedure_url(procedure))}) :
|
||||
- else
|
||||
Procédure supprimée
|
||||
%dd
|
||||
= dossiers.map { |d| link_to(d.id, manager_dossier_url(d)) }.join(', ').html_safe
|
||||
|
||||
|
|
Loading…
Reference in a new issue