2.4.4 no Longer Displays 0.00 Sales Invoices in customer_inquiry.php. Fixed. $Braath...
[fa-stable.git] / reporting / rep706.php
index 1bcd5a02a8782c33bfa0b4390a3622904fc0c68c..30e2520bfded355d83efc04caaa9395d3a1cea64 100644 (file)
@@ -179,7 +179,7 @@ function print_balance_sheet()
        else
                $dec = user_price_dec();
 
-       $cols = array(0, 50, 200, 350, 425,     500);
+       $cols = array(0, 60, 200, 350, 425,     500);
        //------------0--1---2----3----4----5--
 
        $headers = array(_('Account'), _('Account Name'), _('Open Balance'), _('Period'),
@@ -312,7 +312,7 @@ function print_balance_sheet()
                $pg->skin      = $SysPrefs->graph_skin;
                $pg->built_in  = false;
                $pg->latin_notation = ($SysPrefs->decseps[user_dec_sep()] != ".");
-               $filename = company_path(). "/pdf_files/". uniqid("").".png";
+               $filename = company_path(). "/pdf_files/". random_id().".png";
                $pg->display($filename, true);
                $w = $pg->width / 1.5;
                $h = $pg->height / 1.5;