Fix: Total nb of pages into PDF

This commit is contained in:
eldy 2011-08-31 16:03:52 +02:00
parent d0ee6f3ba2
commit d4e3924dcc

View File

@ -311,7 +311,7 @@ Class pdf_expedition_merou extends ModelePdfExpedition
$pdf->SetXY(120,-23); $pdf->SetXY(120,-23);
$pdf->MultiCell(100, 3, $outputlangs->transnoentities("NameAndSignature") , 0, 'C'); $pdf->MultiCell(100, 3, $outputlangs->transnoentities("NameAndSignature") , 0, 'C');
$pdf->SetXY(-10,-10); $pdf->SetXY(-10,-10);
$pdf->MultiCell(10, 3, $pdf->PageNo().'/{nb}', 0, 'R'); $pdf->MultiCell(10, 3, $pdf->PageNo().'/'.$pdf->getAliasNbPages(), 0, 'R');
} }