X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Frep102.php;h=cbb8df42e66eae7d837d49b64e2164fd4f08b8a8;hb=e8f8879003c1918b59e6da26be7f3927115ec21f;hp=41d6379f85ce709c77d9c868bf8ba60136b799ac;hpb=6e3e48e051f3b4c819777df71a09f8c725bb9e81;p=fa-stable.git diff --git a/reporting/rep102.php b/reporting/rep102.php index 41d6379f..cbb8df42 100644 --- a/reporting/rep102.php +++ b/reporting/rep102.php @@ -1,5 +1,14 @@ . +***********************************************************************/ $page_security = 2; // ---------------------------------------------------------------- // $ Revision: 2.0 $ @@ -7,12 +16,12 @@ $page_security = 2; // date_: 2005-05-19 // Title: Aged Customer Balances // ---------------------------------------------------------------- -$path_to_root="../"; +$path_to_root=".."; -include_once($path_to_root . "includes/session.inc"); -include_once($path_to_root . "includes/date_functions.inc"); -include_once($path_to_root . "includes/data_checks.inc"); -include_once($path_to_root . "gl/includes/gl_db.inc"); +include_once($path_to_root . "/includes/session.inc"); +include_once($path_to_root . "/includes/date_functions.inc"); +include_once($path_to_root . "/includes/data_checks.inc"); +include_once($path_to_root . "/gl/includes/gl_db.inc"); //---------------------------------------------------------------------------------------------------- @@ -60,7 +69,7 @@ function print_aged_customer_analysis() { global $comp_path, $path_to_root; - include_once($path_to_root . "reporting/includes/pdf_report.inc"); + include_once($path_to_root . "/reporting/includes/pdf_report.inc"); $to = $_POST['PARAM_0']; $fromcust = $_POST['PARAM_1']; @@ -70,7 +79,7 @@ function print_aged_customer_analysis() $comments = $_POST['PARAM_5']; if ($graphics) { - include_once($path_to_root . "reporting/includes/class.graphic.inc"); + include_once($path_to_root . "/reporting/includes/class.graphic.inc"); $pg = new graph(); } @@ -217,7 +226,7 @@ function print_aged_customer_analysis() $pg->type = $graphics; $pg->skin = $graph_skin; $pg->built_in = false; - $pg->fontfile = $path_to_root . "reporting/fonts/Vera.ttf"; + $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"; $pg->display($filename, true);