Report fixed according to changed headers API in FrontReport class.
[fa-stable.git] / reporting / rep704.php
index b6b12c38cf9204a65d29038435abb3eb5315375a..ff39ccd16cd99bfac58f8d27ceb2660401ff6259 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);
 
@@ -167,7 +167,7 @@ function print_GL_transactions()
                                if ($rep->row < $rep->bottomMargin + $rep->lineHeight)
                                {
                                        $rep->Line($rep->row - 2);
-                                       $rep->Header();
+                                       $rep->NewPage();
                                }
                        }
                        $rep->NewLine();