projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bad handling of graphic links in certain browsers
[fa-stable.git]
/
reporting
/
includes
/
pdf_report.inc
diff --git
a/reporting/includes/pdf_report.inc
b/reporting/includes/pdf_report.inc
index 07d83546638daf144c956502eaedad4ad0ad6f72..c849f98fea60c9253257280a9d499d659cf1bbe6 100644
(file)
--- a/
reporting/includes/pdf_report.inc
+++ b/
reporting/includes/pdf_report.inc
@@
-14,9
+14,9
@@
$page_security = 8;
//include_once($path_to_root . "reporting/includes/class.pdf.inc");
include_once(dirname(__FILE__)."/class.pdf.inc");
include_once(dirname(__FILE__)."/printer_class.inc");
//include_once($path_to_root . "reporting/includes/class.pdf.inc");
include_once(dirname(__FILE__)."/class.pdf.inc");
include_once(dirname(__FILE__)."/printer_class.inc");
-include_once($path_to_root . "admin/db/company_db.inc");
-include_once($path_to_root . "admin/db/printers_db.inc");
-include_once($path_to_root . "config.php");
+include_once($path_to_root . "
/
admin/db/company_db.inc");
+include_once($path_to_root . "
/
admin/db/printers_db.inc");
+include_once($path_to_root . "
/
config.php");
class FrontReport extends Cpdf
{
var $size;
class FrontReport extends Cpdf
{
var $size;
@@
-150,7
+150,7
@@
class FrontReport extends Cpdf
function Info($params, $cols, $headers, $aligns,
$cols2 = null, $headers2 = null, $aligns2 = null)
{
function Info($params, $cols, $headers, $aligns,
$cols2 = null, $headers2 = null, $aligns2 = null)
{
- global $app_title, $version, $power_by, $power_url
, $path_to_root, $db_connections
;
+ global $app_title, $version, $power_by, $power_url;
$this->addinfo('Title', $this->title);
$this->addinfo('Subject', $this->title);
$this->addinfo('Title', $this->title);
$this->addinfo('Subject', $this->title);
@@
-164,7
+164,6
@@
class FrontReport extends Cpdf
$this->fiscal_year = sql2date($year['begin']) . " - " . sql2date($year['end']) . " " . "(" . $how . ")";
$this->company = get_company_prefs();
$this->user = $_SESSION["wa_current_user"]->name;
$this->fiscal_year = sql2date($year['begin']) . " - " . sql2date($year['end']) . " " . "(" . $how . ")";
$this->company = get_company_prefs();
$this->user = $_SESSION["wa_current_user"]->name;
- //$this->host = $db_connections[$_SESSION["wa_current_user"]->company]["host"];
$this->host = $_SERVER['SERVER_NAME'];
$this->params = $params;
$this->cols = $cols;
$this->host = $_SERVER['SERVER_NAME'];
$this->params = $params;
$this->cols = $cols;
@@
-268,14
+267,14
@@
class FrontReport extends Cpdf
$header2type = true;
if ($this->currency != $myrow['curr_code'])
{
$header2type = true;
if ($this->currency != $myrow['curr_code'])
{
- include($path_to_root . "reporting/includes/doctext2.inc");
+ include($path_to_root . "
/
reporting/includes/doctext2.inc");
}
else
{
}
else
{
- include($path_to_root . "reporting/includes/doctext.inc");
+ include($path_to_root . "
/
reporting/includes/doctext.inc");
}
}
- include($path_to_root . "reporting/includes/header2.inc");
+ include($path_to_root . "
/
reporting/includes/header2.inc");
$this->row = $temp;
}
$this->row = $temp;
}