forked from Wavyzz/dolibarr
Work on replacement of FPDF with TCPDF
This commit is contained in:
@@ -173,7 +173,12 @@ class pdf_propale_azur extends ModelePDFPropales
|
||||
$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;
|
||||
|
||||
@@ -146,7 +146,12 @@ class pdf_propale_jaune extends ModelePDFPropales
|
||||
$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