forked from Wavyzz/dolibarr
Work on replacement of FPDF with TCPDF
This commit is contained in:
@@ -139,6 +139,11 @@ class pdf_soleil extends ModelePDFFicheinter
|
||||
$pdf=new FPDI('P','mm',$this->format);
|
||||
}
|
||||
|
||||
if (class_exists('TCPDF'))
|
||||
{
|
||||
$pdf->setPrintHeader(false);
|
||||
$pdf->setPrintFooter(false);
|
||||
}
|
||||
$pdf->SetFont('Helvetica');
|
||||
|
||||
$pdf->Open();
|
||||
|
||||
Reference in New Issue
Block a user