X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Fincludes%2Freports_classes.inc;h=dd2e069f223ce9396a1852f5e226e52284aed02b;hb=7561718ee5113232ce917f63085d272884b0929c;hp=73439b95e4ceaad17ca4fdc8904b591b9e91ed95;hpb=0c1ab57c09d87eed2bd248892dbfe3f256767a82;p=fa-stable.git diff --git a/reporting/includes/reports_classes.inc b/reporting/includes/reports_classes.inc index 73439b95..dd2e069f 100644 --- a/reporting/includes/reports_classes.inc +++ b/reporting/includes/reports_classes.inc @@ -47,7 +47,7 @@ class BoxReports function getDisplay($class=null) { - global $path_to_root, $pdf_debug, $Ajax; + global $path_to_root, $SysPrefs, $Ajax; if (find_submit('Rep') != -1) { include($path_to_root.'/reporting/prn_redirect.php'); @@ -99,7 +99,7 @@ class BoxReports . "
\n"; $st_params .= submit('Rep'.$report->id, _("Display: ") . access_string($report->name, true), - false, '', $pdf_debug ? false : 'default process') . hidden('REP_ID', $report->id, false).'

'; + false, '', $SysPrefs->pdf_debug ? false : 'default process') . hidden('REP_ID', $report->id, false).'

'; $st_params .= $this->getOptions($report->get_controls(), $report->id); $st_params .= "\n" ."\n
\n"; @@ -167,7 +167,7 @@ class BoxReports // function get_ctrl($name, $type) { - global $path_to_root, $pdf_debug, $SysPrefs, + global $path_to_root, $SysPrefs, $type_shortcuts; $st = ''; @@ -500,4 +500,3 @@ function add_custom_reports(&$reports) include_once($file); } -?> \ No newline at end of file