From 8c90ad023a4bc97f3b1407c732327320d78bdac9 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Thu, 12 Jan 2006 16:39:36 +0000 Subject: [PATCH] Ajout compteur de page --- htdocs/telephonie/pdf/pdfdetail_papier.modules.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/htdocs/telephonie/pdf/pdfdetail_papier.modules.php b/htdocs/telephonie/pdf/pdfdetail_papier.modules.php index be6bc3f74c8..06ecbea0edd 100644 --- a/htdocs/telephonie/pdf/pdfdetail_papier.modules.php +++ b/htdocs/telephonie/pdf/pdfdetail_papier.modules.php @@ -37,6 +37,7 @@ class pdfdetail_papier { $this->year = $year; $this->month = $month; $this->factel = $factel; + $this->pages = 0; } /* @@ -138,6 +139,7 @@ class pdfdetail_papier { $num = $this->db->num_rows($resql); $pdf->AddPage(); + $this->pages++; $this->ListHeader($pdf); $i = 0; $var = 1; @@ -162,6 +164,7 @@ class pdfdetail_papier { if ($this->inc > 130 && $this->colonne == 2) { $pdf->AddPage(); + $this->pages++; $this->ListHeader($pdf); $var = 0; $col = 0;