New files from unstable branch
[fa-stable.git] / reporting / rep701.php
index 82bb0390ddc8e8db1c3a460458258992d1422a99..b4f54c9603ea093ed7716cd2ea0151fbc4505270 100644 (file)
@@ -38,8 +38,10 @@ function display_type ($type, $typename, &$dec, &$rep, $showbalance)
                {
                        $printtitle = 1;
                        $rep->row -= 4;
+                       $rep->Font('bold');
                        $rep->TextCol(0, 1, $type);
                        $rep->TextCol(1, 4, $typename);
+                       $rep->Font();
                        $rep->row -= 4;
                        $rep->Line($rep->row);
                        $rep->NewLine();                
@@ -111,7 +113,7 @@ function print_Chart_of_Accounts()
        
        $rep->Font();
        $rep->Info($params, $cols, $headers, $aligns);
-       $rep->Header();
+       $rep->NewPage();
 
        $classresult = get_account_classes(false);
        while ($class = db_fetch($classresult))