Moving bugfixes from 2.3 to 2.4 and updated install languages for Denmark and Sweden.
[fa-stable.git] / reporting / rep701.php
index c3dfb3b6e4fff30acd341d23fa605a3a3abc8ce1..a110ea215afc007617d489170a214c5c446e739e 100644 (file)
@@ -104,7 +104,6 @@ function print_Chart_of_Accounts()
                include_once($path_to_root . "/reporting/includes/pdf_report.inc");
 
        $orientation = ($orientation ? 'L' : 'P');
-       $dec = 0;
 
        $cols = array(0, 50, 300, 425, 500);
 
@@ -116,7 +115,7 @@ function print_Chart_of_Accounts()
 
        $rep = new FrontReport(_('Chart of Accounts'), "ChartOfAccounts", user_pagesize(), 9, $orientation);
     if ($orientation == 'L')
-       $rep->recalculate_cols($cols);
+       recalculate_cols($cols);
        
        $rep->Font();
        $rep->Info($params, $cols, $headers, $aligns);
@@ -143,4 +142,3 @@ function print_Chart_of_Accounts()
        $rep->End();
 }
 
-?>
\ No newline at end of file