New files from unstable branch
[fa-stable.git] / reporting / rep704.php
index 3926defa4522ddced2d8d585033b79ac5dcec8b6..08391fbd07b51c491c9d0b1495c0340cf50f5c77 100644 (file)
@@ -111,7 +111,7 @@ function print_GL_transactions()
 
        $rep->Font();
        $rep->Info($params, $cols, $headers, $aligns);
-       $rep->Header();
+       $rep->NewPage();
 
        $accounts = get_gl_accounts($fromacc, $toacc);
 
@@ -176,7 +176,7 @@ function print_GL_transactions()
                                if ($rep->row < $rep->bottomMargin + $rep->lineHeight)
                                {
                                        $rep->Line($rep->row - 2);
-                                       $rep->Header();
+                                       $rep->NewPage();
                                }
                        }
                        $rep->NewLine();