mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 23:13:15 +00:00
add base name in pdf feedback
This commit is contained in:
@@ -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'];
|
||||
|
||||
|
Reference in New Issue
Block a user