parent
82743d7da3
commit
d039798ac8
4 changed files with 9 additions and 2 deletions
|
@ -181,7 +181,7 @@ prawn_document(page_size: "A4") do |pdf|
|
|||
italic: Rails.root.join('lib/prawn/fonts/marianne/marianne-thin.ttf' ),
|
||||
})
|
||||
pdf.font 'marianne'
|
||||
pdf.svg IO.read("app/assets/images/header/logo-ds-wide.svg"), width: 300, position: :center
|
||||
pdf.svg IO.read(DOSSIER_PDF_EXPORT_LOGO_SRC), width: 300, position: :center
|
||||
pdf.move_down(40)
|
||||
|
||||
render_in_2_columns(pdf, 'Démarche', @dossier.procedure.libelle)
|
||||
|
|
|
@ -170,7 +170,7 @@ prawn_document(page_size: "A4") do |pdf|
|
|||
})
|
||||
pdf.font 'marianne'
|
||||
|
||||
pdf.svg IO.read("app/assets/images/header/logo-ds-wide.svg"), width: 300, position: :center
|
||||
pdf.svg IO.read(DOSSIER_PDF_EXPORT_LOGO_SRC), width: 300, position: :center
|
||||
pdf.move_down(40)
|
||||
|
||||
format_in_2_columns(pdf, 'Dossier Nº', @dossier.id.to_s)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue