forked from Wavyzz/dolibarr
Work on replacement of FPDF with TCPDF
This commit is contained in:
@@ -150,7 +150,12 @@ class pdf_baleine extends ModelePDFProjects
|
||||
$pdf=new FPDI('P','mm',$this->format);
|
||||
}
|
||||
|
||||
$pdf->SetFont('Helvetica');
|
||||
if (class_exists('TCPDF'))
|
||||
{
|
||||
$pdf->setPrintHeader(false);
|
||||
$pdf->setPrintFooter(false);
|
||||
}
|
||||
$pdf->SetFont('Helvetica');
|
||||
|
||||
// Complete object by loading several other informations
|
||||
$task = new Task($this->db);
|
||||
|
||||
Reference in New Issue
Block a user