Rerun of implemented Selectable Print Orientation (Portrait, Landscape) for all repor...
[fa-stable.git] / reporting / rep101.php
index 3fee1e8f00c59deefcce79ac951c44d8d697c02c..2826c94be51ab415f49197166e7945e7eabd3daf 100644 (file)
@@ -110,7 +110,6 @@ function print_customer_balances()
                include_once($path_to_root . "/reporting/includes/pdf_report.inc");
 
        $orientation = ($orientation ? 'L' : 'P');
-
        if ($fromcust == ALL_TEXT)
                $cust = _('All');
        else
@@ -143,7 +142,7 @@ function print_customer_balances()
 
     $rep = new FrontReport(_('Customer Balances'), "CustomerBalances", user_pagesize(), 9, $orientation);
     if ($orientation == 'L')
-       $rep->recalculate_cols($cols);
+       recalculate_cols($cols);
     $rep->Font();
     $rep->Info($params, $cols, $headers, $aligns);
     $rep->NewPage();