mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-15 22:11:36 +01:00
Work on replacement of FPDF with TCPDF
This commit is contained in:
@@ -112,7 +112,12 @@ class CommActionRapport
|
||||
$pdf=new FPDI('P','mm',$this->format);
|
||||
}
|
||||
|
||||
$pdf->SetFont('Helvetica');
|
||||
if (class_exists('TCPDF'))
|
||||
{
|
||||
$pdf->setPrintHeader(false);
|
||||
$pdf->setPrintFooter(false);
|
||||
}
|
||||
$pdf->SetFont('Helvetica');
|
||||
|
||||
$pdf->Open();
|
||||
$pagenb=0;
|
||||
|
||||
Reference in New Issue
Block a user