X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Frep707.php;h=30e1d5616f5b4d40e4389c193f0f3c007b306faa;hb=604d89ac6d18712d8b55bed821afe07b7106db3d;hp=9d2f0d2c9f2e44c8090dcd4430b657abdc5c61e9;hpb=340b94e61a41673eddf12bba3815c3d8dfe68408;p=fa-stable.git diff --git a/reporting/rep707.php b/reporting/rep707.php index 9d2f0d2c..30e1d561 100644 --- a/reporting/rep707.php +++ b/reporting/rep707.php @@ -1,5 +1,14 @@ . +***********************************************************************/ $page_security = 2; // ---------------------------------------------------------------- // $ Revision: 2.0 $ @@ -7,12 +16,12 @@ $page_security = 2; // date_: 2005-05-19 // Title: Profit and Loss Statement // ---------------------------------------------------------------- -$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"); //---------------------------------------------------------------------------------------------------- @@ -39,7 +48,7 @@ function print_profit_and_loss_statement() { 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"); $dim = get_company_pref('use_dimension'); $dimension = $dimension2 = 0; @@ -66,7 +75,7 @@ function print_profit_and_loss_statement() } 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(); } $dec = 0; @@ -293,7 +302,7 @@ function print_profit_and_loss_statement() $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(). "/pdf_files/test.png"; $pg->display($filename, true);