diff --git a/lib/Alchemy/Phrasea/Out/Module/PDFRecords.php b/lib/Alchemy/Phrasea/Out/Module/PDFRecords.php index c3b3684cd5..43abee8bc1 100644 --- a/lib/Alchemy/Phrasea/Out/Module/PDFRecords.php +++ b/lib/Alchemy/Phrasea/Out/Module/PDFRecords.php @@ -603,6 +603,12 @@ class PDFRecords extends PDF $this->pdf->Write(5, $rec->getRecordId()); $this->pdf->Write(6, "\n"); + $this->pdf->SetFont(PhraseaPDF::FONT, 'B', 12); + $this->pdf->Write(5, $this->app->trans("print_feedback:: base name: ") . " "); + $this->pdf->SetFont(PhraseaPDF::FONT, '', 12); + $this->pdf->Write(5, $rec->getDatabox()->get_label($this->app['locale'])); + $this->pdf->Write(6, "\n"); + $this->pdf->SetFont(PhraseaPDF::FONT, 'B', 12); $this->pdf->Write(5, $this->app->trans("print_feedback:: originale filename: ") . " "); $this->pdf->SetFont(PhraseaPDF::FONT, '', 12); @@ -698,7 +704,7 @@ class PDFRecords extends PDF return; } - private function formatDate(\DateTime $date) + private function formatDate(\DateTime $date) { $locale = $this->app['locale']; diff --git a/templates/web/prod/actions/printer_default.html.twig b/templates/web/prod/actions/printer_default.html.twig index ff4132fa22..85a53e0565 100644 --- a/templates/web/prod/actions/printer_default.html.twig +++ b/templates/web/prod/actions/printer_default.html.twig @@ -6,14 +6,14 @@