diff --git a/admin/reports_projects_tablelabels.php b/admin/reports_projects_tablelabels.php index 5022e8c..45d7e9d 100644 --- a/admin/reports_projects_tablelabels.php +++ b/admin/reports_projects_tablelabels.php @@ -142,6 +142,7 @@ "); echo mysql_error(); + $num=mysql_num_rows($projq); while($proj=mysql_fetch_object($projq)) { $rep->setFontSize(22); @@ -151,6 +152,7 @@ $rep->nextLine(); $rep->setFontSize(150); + $rep->yloc=6.75; if($projectnumber) $rep->addtext($proj->projectnumber,"center"); else @@ -194,7 +196,9 @@ else if($division) $rep->addText(i18n($proj->division),"center"); - $rep->newPage(); + $index++; + if($index!=$num) + $rep->newPage(); } $rep->output();