Internal: Remove pagination from certificate footer - refs BT#21812

pull/5613/head
christianbeeznst 5 months ago
parent a68a7b9408
commit d7e55d1d4d
  1. 2
      public/main/inc/lib/certificate.lib.php
  2. 6
      public/main/inc/lib/pdf.lib.php

@ -746,6 +746,8 @@ class Certificate extends Model
false,
null,
false,
true,
true,
true
);
}

@ -383,7 +383,8 @@ class PDF
$fileToSave = null,
$returnHtml = false,
$addDefaultCss = false,
$completeHeader = true
$completeHeader = true,
$disableFooter = false
) {
$urlAppend = '';
@ -486,6 +487,9 @@ class PDF
}
@$this->pdf->WriteHTML($document_html);
if ($disableFooter) {
$this->pdf->SetHTMLFooter('');
}
if (empty($pdf_name)) {
$output_file = 'pdf_'.date('Y-m-d-his').'.pdf';

Loading…
Cancel
Save