Skip to content

Commit

Permalink
✨ [#4005] Update title of submission report
Browse files Browse the repository at this point in the history
  • Loading branch information
SilviaAmAm committed Apr 4, 2024
1 parent ce589fa commit 08b0a3e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/openforms/submissions/tasks/pdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,11 @@ def generate_submission_report(task, submission_id: int) -> None:
submission_report = submission.report
except SubmissionReport.DoesNotExist:
submission_report = SubmissionReport.objects.create(
title=_("%(title)s: Submission report") % {"title": submission.form.name},
title=_("%(title)s: Submission report (%(reference)s)")
% {
"title": submission.form.name,
"reference": submission.public_registration_reference,
},
submission=submission,
task_id=task.request.id,
)
Expand Down

0 comments on commit 08b0a3e

Please sign in to comment.