2
0
forked from Wavyzz/dolibarr

Work on replacement of FPDF with TCPDF

This commit is contained in:
Laurent Destailleur
2010-09-01 14:32:13 +00:00
parent acf961a506
commit a7f6fdecca
124 changed files with 115 additions and 58232 deletions

View File

@@ -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);