Report fixed according to changed headers API in FrontReport class.
[fa-stable.git] / reporting / rep708.php
index 9e95275a1373f8562d7bad0c1321e7053cf2064f..ee490c12c8703c050b18e6bd19d1097c40214153 100644 (file)
@@ -107,7 +107,7 @@ function print_trial_balance()
 
        $rep->Font();
        $rep->Info($params, $cols, $headers, $aligns, $cols2, $headers2, $aligns2);
-       $rep->Header();
+       $rep->NewPage();
 
        $accounts = get_gl_accounts();
 
@@ -165,7 +165,7 @@ function print_trial_balance()
                if ($rep->row < $rep->bottomMargin + $rep->lineHeight)
                {
                        $rep->Line($rep->row - 2);
-                       $rep->Header();
+                       $rep->NewPage();
                }
        }
        $rep->Line($rep->row);