dossiers: fix wrong use of created_at in the deposit receipt
This commit is contained in:
parent
982a209e7d
commit
63b1ff9e2d
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ prawn_document(margin: [top_margin, right_margin, bottom_margin, left_margin], p
|
||||||
pdf.pad_top(40) { pdf.text @dossier.procedure.libelle, size: 14, character_spacing: -0.2, align: :center }
|
pdf.pad_top(40) { pdf.text @dossier.procedure.libelle, size: 14, character_spacing: -0.2, align: :center }
|
||||||
|
|
||||||
pdf.fill_color grey
|
pdf.fill_color grey
|
||||||
description = t('.description', user_name: papertrail_requester_identity(@dossier), procedure: @dossier.procedure.libelle, date: l(@dossier.created_at, format: '%e %B %Y'))
|
description = t('.description', user_name: papertrail_requester_identity(@dossier), procedure: @dossier.procedure.libelle, date: l(@dossier.depose_at, format: '%e %B %Y'))
|
||||||
pdf.pad_top(30) { pdf.text description, size: 10, character_spacing: -0.2, align: :left }
|
pdf.pad_top(30) { pdf.text description, size: 10, character_spacing: -0.2, align: :left }
|
||||||
|
|
||||||
pdf.fill_color black
|
pdf.fill_color black
|
||||||
|
|
Loading…
Reference in a new issue