X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Frep102.php;h=62128b5022a543ce24c65fd69e1267ef7f80e4f2;hb=c5dc92bf60148463852a81f74284117ce3fd1e92;hp=a2f938c0a8413e80b91b3c99f648f084ed9896f4;hpb=b37623cf1de2cfce6825744557d76475f002321f;p=fa-stable.git diff --git a/reporting/rep102.php b/reporting/rep102.php index a2f938c0..62128b50 100644 --- a/reporting/rep102.php +++ b/reporting/rep102.php @@ -64,7 +64,7 @@ function get_invoices($customer_id, $to) function print_aged_customer_analysis() { - global $comp_path, $path_to_root, $systypes_array; + global $path_to_root, $systypes_array; $to = $_POST['PARAM_0']; $fromcust = $_POST['PARAM_1']; @@ -228,7 +228,7 @@ function print_aged_customer_analysis() $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 = $comp_path .'/'. user_company(). "/images/test.png"; + $filename = company_path(). "/images/test.png"; $pg->display($filename, true); $w = $pg->width / 1.5; $h = $pg->height / 1.5;