From 63b1ff9e2d418fb3f8f4b640bb9bf2f88387525b Mon Sep 17 00:00:00 2001 From: Pierre de La Morinerie Date: Wed, 4 May 2022 17:19:29 +0200 Subject: [PATCH] dossiers: fix wrong use of created_at in the deposit receipt --- app/views/users/dossiers/papertrail.pdf.prawn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/users/dossiers/papertrail.pdf.prawn b/app/views/users/dossiers/papertrail.pdf.prawn index 825f42f90..275055b09 100644 --- a/app/views/users/dossiers/papertrail.pdf.prawn +++ b/app/views/users/dossiers/papertrail.pdf.prawn @@ -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.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.fill_color black