Fix attestation preview
This commit is contained in:
parent
1999b4d86b
commit
3c6b35d720
2 changed files with 12 additions and 4 deletions
|
@ -22,8 +22,8 @@ module Instructeurs
|
|||
end
|
||||
|
||||
def apercu_attestation
|
||||
@title = dossier.procedure.attestation_template.title
|
||||
@body = dossier.procedure.attestation_template.body
|
||||
@title = dossier.procedure.attestation_template.title_for_dossier(dossier)
|
||||
@body = dossier.procedure.attestation_template.body_for_dossier(dossier)
|
||||
@footer = dossier.procedure.attestation_template.footer
|
||||
@created_at = Time.zone.now
|
||||
@logo = dossier.procedure.attestation_template&.proxy_logo
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue