function print_aged_customer_analysis()
{
- global $path_to_root;
+ global $comp_path, $path_to_root;
include_once($path_to_root . "reporting/includes/pdf_report.inc");
$rep->Line($rep->row + 4);
$rep->NewLine();
}
- $rep->fontSize += 2;
+ $rep->fontSize += 2;
$rep->TextCol(0, 3, _('Grand Total'));
$rep->fontSize -= 2;
for ($i = 0; $i < count($total); $i++)
$pg->built_in = false;
$pg->fontfile = $path_to_root . "reporting/fonts/Vera.ttf";
$pg->latin_notation = ($decseps[$_SESSION["wa_current_user"]->prefs->dec_sep()] != ".");
- $filename = $path_to_root . "reporting/pdf_files/test.png";
+ $filename = $comp_path .'/'. user_company(). "/images/test.png";
$pg->display($filename, true);
$w = $pg->width / 1.5;
$h = $pg->height / 1.5;