Feature 5388: Print Invoices (documents) list gets too long. Fixed by default 180...
[fa-stable.git] / reporting / rep701.php
index c3dfb3b6e4fff30acd341d23fa605a3a3abc8ce1..65211df69e36a05b8cb1c12b3a5ef23495efd6c3 100644 (file)
@@ -104,9 +104,8 @@ 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);
+       $cols = array(0, 60, 300, 425, 500);
 
        $headers = array(_('Account'), _('Account Name'), _('Account Code'), _('Balance'));
        
@@ -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