X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Fincludes%2Freports_classes.inc;h=a3d48618767d77075034ef1d5015fd2f9622db71;hb=181a41d711bef3cec7ca559e35e9e12d1d4f4515;hp=38973243e0de386d9c8aaa47c03636c943d5bda3;hpb=7e6e0807990447d2977b970c3a0fd28dc9250194;p=fa-stable.git diff --git a/reporting/includes/reports_classes.inc b/reporting/includes/reports_classes.inc index 38973243..a3d48618 100644 --- a/reporting/includes/reports_classes.inc +++ b/reporting/includes/reports_classes.inc @@ -100,7 +100,7 @@ class BoxReports . "
\n"; $st_params .= submit('Rep'.$report->id, _("Display: ") . access_string($report->name, true), - false, '', $SysPrefs->pdf_debug ? false : 'default popup') . hidden('REP_ID', $report->id, false).'

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

'; $st_params .= $this->getOptions($report->get_controls(), $report->id); $st_params .= "\n" ."\n
\n"; @@ -170,7 +170,9 @@ class BoxReports { global $path_to_root, $SysPrefs, $type_shortcuts; - $day_range = (isset($SysPrefs->max_days_in_docs) ? $SysPrefs->max_days_in_docs : 180); + $day_range = get_company_pref("max_days_in_docs"); + if (!$day_range) + $day_range = 180; $st = ''; switch ($type) { @@ -251,7 +253,7 @@ class BoxReports case 'GRAPHIC': $sel = array(_("No Graphics"), _("Vertical bars"), _("Horizontal bars"), - _("Dots"), _("Lines"), _("Pie"), _("Donut")); + _("Dots"), _("Lines"), _("Pie"), _("Donut"), _("Half Donut"), _("Splines")); return array_selector($name, null, $sel); case 'SYS_TYPES':