X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;ds=inline;f=reporting%2Fincludes%2Freports_classes.inc;h=31e98b8ac89fc3ffe20b5153683757cc1427450e;hb=a4db318fa0c84e099e0970ca82e36215782d661e;hp=0dabe11ca676661ab3d027d91873501709b355d9;hpb=f12dbe7523bb1abc6cd69b009ef8f0be838f5348;p=fa-stable.git
diff --git a/reporting/includes/reports_classes.inc b/reporting/includes/reports_classes.inc
index 0dabe11c..31e98b8a 100644
--- a/reporting/includes/reports_classes.inc
+++ b/reporting/includes/reports_classes.inc
@@ -1,4 +1,14 @@
.
+***********************************************************************/
class BoxReports
{
var $ar_classes;
@@ -20,7 +30,8 @@ class BoxReports
function getDisplay($class=null)
{
- global $table_style2;
+ global $table_style2, $comp_path, $path_to_root, $pdf_debug, $Ajax;
+
$temp = array_values($this->ar_classes);
$display_class = $class==null ? $temp[0] : $this->ar_classes[$class];
$class_counter = 0;
@@ -30,34 +41,56 @@ class BoxReports
$st_classes = "" . _("Report Classes:") . "
";
foreach($this->ar_classes as $key=>$value)
{
- $style = $class_counter==0 ? '' : $style = "style='display:none'";
- $st_classes .= "$key
";
- $st_reports .= "